Google Analytics, CSS file import, and Date Formatting utilities. C2 & C3 runtimes supported. Please notice Google Analytics is not meant for Android. Leave a like if you use the plugin.
This works really well. Note, it's for HTML5 exports, so if you're having issues that might be the case. I'm running it on my games at mountgamer.com
event tracking works well
Thanks! I have more useful plugins for integrating other platforms like Kongregate and Newgrounds. Enjoy!
In case anyone still reached this page. The addon has been deprecated because Universal Analytics has been retired by Google.
In the link you can find my newest plugin to integrate with GA4:
construct.net/en/game-assets/addons/google-analytics-2250
Does this addon still work?
Hello,
Do we mandatory need an UA-XXXXXX id or does it works with Version 4 of Google Analytics (that looks like G-XXXXXXX) please ?
Hi there! It currently does not support GA4, it uses google Universal Analytics (Legacy)
Hello, I use your addon for GA, but why the addon keep pausing my debugger?
I don't mind if it's happen in preview mode, but it's also happen when I export to html5 and upload the file to my itch.io page
What version of the addon are you using?
I'm using 0.0.0.6
and construct r241
Hi, Thanks for the plugin. It´s awesome. I just want to know if I need to include events (and what events) to have it working or just add the plugin and include the GA ID. Thanks
Heads up for others, I couldn't get this plugin to work with "minify" during export. When I didn't use the minifier, it worked.
This plugin now supports Advanced Minification. Merry Xmas.
Hi Ecation, the minify feature will be introduced in the next update for the plugin. I'll work on it to have it ready. If you have additional comments, please let me know.
How do I add the GA ID to my project?
after you add the plugin to your project, you have to look for the plugin in your project hierarchy, select the plugin and you'll see the GA ID property field.
Hello. Just find out that if you check "use worker" in project properties the plugin won't work
The addon just got updated to support Worker. Please update to version 0.0.0.4, and feel free to leave a like and share. :)
Thanks for the report. Let ne check and upload the fix.
I've added the plugin in my C3 file and the GA ID, I tried in testing mode but didn't send any data to my GA. Is there anything I've to do?
Hi josh! That's all you need. I'm using the plugin on several of my games without problem. Make sure you have entered the correct tracking id in the plugin, it must look like UA-012345678-1.
You can also try to look for dumps in browser's console. For chrome you press CTRL+SHIFT+J to open it, look for the "Console" tab and see if there's any error(red) GA-related listed.
If you'd like to discuss the problem in more detail, I'll be glad to help through discord https://discord.gg/T4GHBTc Testing mode will send GA tracking while you are in preview mode, it has no effect on the final exported game.