
It's very important to understand what's going on in your games and how players actually play your game. With this simple integration you can use Google Analytics with all your PICO-8 games (HTML export version) and track events according to your reporting needs.
The actual code and setup instructions can be found onGithub:
--===--
Example cart: In the cart above you can see an example in action. After booting up, this PICO-8 cart will fire two events (with a few seconds of delay in between). You can watch the events getting fired and sent to Google Analytics by using a Chrome browser and having thisAnalytics Debugger Plugin installed and active.
--===--
Setup: OnGithub you will find all the necessary code and steps explained. Getting the Analytics plugin to work is very easy:
Done! You can now track events in your game by using a simpleevent()function.

| Status | Released |
| Category | Tool |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | pocketfruit |
| Made with | PICO-8 |
| Tags | google-analytics,PICO-8,plugin,sourcecode,tracking |
| Average session | A few seconds |
| Inputs | Keyboard,Xbox controller,Gamepad (any),Touchscreen |