Skip to content

Instantly share code, notes, and snippets.

View formatt-c's full-sized avatar
😀

Matt formatt-c

😀
View GitHub Profile
@formatt-c
formatt-c / bitsy-google-analytics.md
Last active September 30, 2018 19:28
Add Google Analytics to your Bitsy game.

Google Analytics with Bitsy

It's very important to understand what's going on in your games and how players actually play your game. Here is a small writeup of how you can use Google Analytics event tracking with your Bitsy game. Since Bitsy is a very limited game engine this solution is hacky and maintainability is limited - but it works :D.

Setup

  1. Add a Google Analytics snippet to your exported game HTML file, refer to this link.

Note: The snippet should be placed near the top of the head section. Don't forget to enter your personal tracking ID of your analytics property.