So this is a combination of things from Add Google Analytics to Your Apps and this forum post about Google Analytics. The exact method outlined in the first lin...
I created a Addon thar supports C2 and C3 runtime dor Google Analytics
construct.net/en/make-games/addons/307/google-analytics-handy
Hope it helps, is super easy to use and it even has event tracking.