Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Google analytics + Playtime

A topic by Azephir created May 25, 2022 Views: 560 Replies: 1
Viewing posts 1 to 2
(+1)

Hi !

Just two ideas around google analytics :

- Since Universal analytics will stop working in july 2023, it would be interesting to start a transition to google analytics 4 (with gtag.js instead of analytics.js ?)

- It would be nice to be able to track the playing time of players for embed games. If it's not a native itch functionnality (it would be awesome), it could be google analytics tags on the iframe... (or some code to allow the itch page and the game inside the iframe communicate data on tracking... More info here : https://www.simoahava.com/analytics/cookieless-tracking-cross-site-iframes/)


Thanks,

Azephir

Transitioning to Google Analytics 4 feels like an essential step at this point, especially with Universal Analytics already phased out.
Also, the idea of tracking playtime for embedded games sounds amazing — it would be incredibly useful for understanding player engagement better.
I really hope itch.io considers implementing something like iframe communication for this; it would open up so many possibilities for better analytics without relying on messy workarounds.