angulartics / angulartics-google-tag-manager

34 stars 35 forks source link

Is the universal-analytics-import.json contains actual setup? #11

Closed opahopa closed 8 years ago

opahopa commented 8 years ago

Hello!

i'm using Google Tag Manager for Google analytics. AngularJS 1.5.* , UI-router for routing.

I've gone through the manuals how to setup Angulartics and it's GTM plugin many times.

For unknown reason, the data is not recorded by universal google analytics. i tried to both import and manual tags setup.

However, i see that the data is send to analytics each state change like this:

http://www.google-analytics.com/collect?v=1&_v=j44&a=107283709&t=pageview&_s=1&dl=http%3A%2F%2Flocalhost%2Fcontact&dp=%2Fcontact&ul=en-us&de=UTF-8&dt=blabla%20blabla%20blabla%20marketplace&sd=24-bit&sr=1920x1080&vp=1131x979&je=0&fl=22.0%20r0&_u=SECAAEABI~&jid=&cid=792673518.1469254181&tid=UA-79733331-1&gtm=GTM-5ML8QV&z=1347135141

i tried the Google Tag Manager module packages both from this https://github.com/angulartics/angulartics-google-tag-manager and the main angulartics repo (seems like the versions isn't the same?)

Where should i look for a problem?

The question is names like this because i probably can mistype somewhere when i set the variables manually in GTM, but not when i tried to import the settings.

DanWilkerson commented 8 years ago

This is really tricky to debug. Initially, it looks to me like your problem isn't with Angulartics - you do see a hit being sent to Google Analytics, which tells me Angulartics is doing its job.

This kind of troubleshooting is out of scope for this repo, so I'm going to close this issue; that said, I'm happy to help you continue to troubleshoot via email or DM, so please hit me up there.