Analytics
P00LS Games SDK provides a lightweight analytics mechanism based on Google Analytics.
The SDK tracks by itself a few events, and if you want to track your owning, they should adhere to official GA guidelines.
- login
- Fired at SDK init time 
- rewarded_ad
- Fired on each rewarded ad call 
- interstitial
- Fired on each interstitial ad call 
- begin_checkout
- Fired at the beginning of In-game purchase 
- purchase
- Fired when payment was successful 
You can fire your own events that way:
                p00lsGamesSdk.LogEvent("game_start");
            
or
                p00lsGamesSdk.LogEvent("custom", new
                {
                    game_mode = "normal"
                });
            
                sdk.analytics.logEvent("game_start");
            
or
                sdk.analytics.logEvent("custom", {
                    game_mode = "normal"
                });
            
Last modified: 18 November 2024