{"id":"endarke/gameanalytics-sdk","name":"gameanalytics-sdk","scope":"endarke","platform":"roblox","description":"This is a forked version from the official GameAnalytics Roblox SDK. This addition is within full intention of patching immediate issues.","version":"2.2.3","latest":"2.2.3","versions":["2.2.3"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"304e14ccc70a2ba367383f779d865646ea41a6de0d31ba53fcb5b587a90f82c6","likes":0,"downloads":0,"install":"forest install endarke/gameanalytics-sdk","url":"https://forest.dev/p/roblox/endarke/gameanalytics-sdk","files":"https://api.forest.dev/ai/package/roblox/endarke/gameanalytics-sdk/files","readme":"GA-SDK-ROBLOX\r\n=============\r\n\r\nGameAnalytics Roblox SDK.\r\n\r\nDocumentation can be found [here](https://gameanalytics.com/docs/item/roblox-sdk).\r\n\r\nIf you have any issues or feedback regarding the SDK, please contact our friendly support team [here](https://gameanalytics.com/contact).\r\n\r\n#### Requirements\r\n* [rojo](https://github.com/LPGhatguy/rojo) (optional, but needed if you want to automatically sync the source files inside the GameAnalyticsSDK folder into your Roblox project)\r\n\r\nChangelog\r\n---------\r\n<!--(CHANGELOG_TOP)-->\r\n**2.2.3**\r\n* fixed bug where PlayerData would reference BasePlayerData tables instead of making copies\r\n* added datastore queue\r\n\r\n**2.2.2**\r\n* fix to wally support\r\n\r\n**2.2.1**\r\n* fixed bug related to game passes purchases\r\n\r\n**2.2.0**\r\n* added support for wally (OBS: breaking changes)\r\n\r\n**2.1.35**\r\n* fixed argument order\r\n\r\n**2.1.34**\r\n* corrected to use new postie api where referenced\r\n\r\n**2.1.33**\r\n* postie script updated\r\n\r\n**2.1.32**\r\n* replace global spawn and wait with task library\r\n\r\n**2.1.31**\r\n* fixed postie bug after moving the script under gameanalytics script\r\n\r\n**2.1.30**\r\n* replaced rbxmx generator script with rojo build command (requires min. rojo 6)\r\n\r\n**2.1.29**\r\n* moved postie script inside GameAnalytics scripts\r\n\r\n**2.1.28**\r\n* fixed error message in errorhandler\r\n\r\n**2.1.27**\r\n* country code field always sent with events now (sent as 'null' if country code couldn't be fetched)\r\n\r\n**2.1.26**\r\n* fixed undefined variable errors\r\n\r\n**2.1.25**\r\n* fixed potential error in session end event code\r\n\r\n**2.1.24**\r\n* added error tracking if country code fails to get retrieved\r\n\r\n**2.1.23**\r\n* fixed ab testing\r\n\r\n**2.1.22**\r\n* fixed bug with remote configs and ab testing ids not being added to events\r\n\r\n**2.1.21**\r\n* fixed GetPlayerDataFromCache function\r\n\r\n**2.1.20**\r\n* fixes to gamepass in business events\r\n\r\n**2.1.19**\r\n* fixed detection of website gamepasses throttling datastores\r\n\r\n**2.1.18**\r\n* fixed sesion start and end issues which caused problems with metrics\r\n\r\n**2.1.17**\r\n* corrected variable name inside GetPlayerDataFromCache function\r\n\r\n**2.1.16**\r\n* player data cache now accepts both userId of string or number type\r\n\r\n**2.1.15**\r\n* fixed not clearing session start ts because teleport flag was not cleared\r\n\r\n**2.1.14**\r\n* fixed logic for error handler\r\n\r\n**2.1.13**\r\n* added player id to error events sent from error reporting\r\n\r\n**2.1.12**\r\n* fixed ScriptContext.Error error reporting\r\n\r\n**2.1.11**\r\n* switched from using LogService to ScriptContext.Error for error reporting\r\n\r\n**2.1.10**\r\n* fixed setAvailableGamepasses function\r\n\r\n**2.1.9**\r\n* correct install instructions and fixed GameAnalyticsServerInit script\r\n\r\n**2.1.8**\r\n* correct business event for 'Gamepass' itemType\r\n\r\n**2.1.7**\r\n* added country code to events to get correct country of users\r\n\r\n**2.1.6**\r\n* corrected install instructions\r\n\r\n**2.1.5**\r\n* Moved everything from GameAnalyticsServer to GameAnalytics module and created a template server script for calling the initialize function.\r\n* Added queue for functions like addDesignEvent etc. that are called before player or GA is initialized\r\n* renamed server init with settings script and restructured it (new usage)\r\n\r\n**2.1.4**\r\n* added session_num to init request\r\n\r\n**2.1.3**\r\n* Replaced previous HMAC + SHA256 + Base64 implementation with HashLib. This version is around 23 - 25% faster.\r\n* Changed indenting from spaces to tabs (Roblox default).\r\n* Worked on reformatting so it followed the Roblox Lua style guide a little better..\r\n* Updated the luacheck files more.\r\n\r\n**2.1.2**\r\n* fixed rojo file\r\n\r\n**2.1.1**\r\n* updated postie script\r\n\r\n**2.1.0**\r\n* added website game pass purchase tracking support\r\n\r\n**2.0.1**\r\n* remote configs fixes\r\n\r\n**2.0.0**\r\n* Remote Config calls have been updated and the old calls have deprecated. Please see GA documentation for the new SDK calls and migration guide\r\n* A/B testing support added\r\n\r\n**1.4.2**\r\n* improvements for business event\r\n\r\n**1.4.1**\r\n* fix to playerRemoved function\r\n\r\n**1.4.0**\r\n* added bindable event to listen to when player is ready (has gotten its player data loaded)\r\n\r\n**1.3.9**\r\n* started using new bit module instead of old one\r\n\r\n**1.3.8**\r\n* fixes for progression events\r\n\r\n**1.3.7**\r\n* bug fix for platform name fallback option\r\n\r\n**1.3.6**\r\n* fix for command center populated events\r\n\r\n**1.3.5**\r\n* fixes to some types of events not being sent\r\n\r\n**1.3.4**\r\n* fixed bug with automatic error events\r\n\r\n**1.3.3**\r\n* fixed bug with error events not sending (another one)\r\n\r\n**1.3.2**\r\n* fixed bug with error events not sending\r\n\r\n**1.3.1**\r\n* fixed multi-place game bugs\r\n\r\n**1.3.0**\r\n* added support for multi-place game sessions\r\n\r\n**1.2.13**\r\n* changed Postie from being a script to a modulescript\r\n\r\n**1.2.12**\r\n* added Postie module to replace invokeclient call in playerjoined\r\n\r\n**1.2.11**\r\n* fixed playerjoined method to not wait indefinitely in some cases\r\n\r\n**1.2.10**\r\n* fixed playerjoined method to not wait indefinitely in some cases\r\n\r\n**1.2.9**\r\n* fixed load table bug\r\n\r\n**1.2.8**\r\n* added missing files to rbxmx\r\n\r\n**1.2.7**\r\n* performance to enum lookups\r\n\r\n**1.2.6**\r\n* added limit to how many events there can max be in the events queue\r\n\r\n**1.2.5**\r\n* added better error handling for thread task execution\r\n\r\n**1.2.4**\r\n* added toggle function for debug logging in studio mode\r\n* threading performance fix\r\n\r\n**1.2.3**\r\n* various bug fixes\r\n\r\n**1.2.2**\r\n* bug fixes to manual configuration and initialization of sdk\r\n\r\n**1.2.1**\r\n* updated server scripts to just be descendants of ServerScriptService and not just direct child of ServerScriptService\r\n\r\n**1.2.0**\r\n* added enable/disable event submission function\r\n\r\n**1.1.0**\r\n* moved settings related code in GameAnalyticsServer script into a new script called GameAnalyticsServerInitUsingSettings to allow manual initialization from own script (OPS look at new INSTALL instructions for new script)\r\n\r\n**1.0.5**\r\n* renamed GameAnalyticsScript to GameAnalyticsServer\r\n* removed script location restriction on GameAnalyticsClient\r\n\r\n**1.0.4**\r\n* small corrections\r\n\r\n**1.0.3**\r\n* fixed automatic sending of error events\r\n* added script for generating rbxmx file\r\n\r\n**1.0.2**\r\n* fixed sha256 performance issues\r\n* added processReceiptCallback function to use within your own processReceipt method\r\n* replaced all string.len and table.getn with # operator instead\r\n* using game:GetService() to access services instead of using game.[some_service]\r\n* fixed device recognition method\r\n* fixed automatic sending of error events\r\n\r\n**1.0.1**\r\n* small bugs fixes\r\n\r\n**1.0.0**\r\n* initial release\r\n","readmeTruncated":false}