Reputation: 165
Here is the site - http://www.ssangyong-favorit.ru/ For some reason this code is giving me "GA is not defined" error:
ga.getAll()[0].get('clientId')
This site has Google Analytics installed on it through GTM and it works and getting stats. The code works for any other site just fine.
The problem is that "ga" doesn't work for some reason and I can't understand why. Maybe it conflicts with something?
UA implemented normally (not Custom HTML).
Please, help me with figuring out what's going on and fixing it.
Upvotes: 0
Views: 3729
Reputation: 32760
It would seem that you have renamed the ga object.
ga_ckpr.getAll()[0].get('clientId')
in the javascript console returns a client id.
Upvotes: 2