Skip to content Skip to sidebar Skip to footer

Google Universal Analytics - Command Ignored

I'm using Google Universal Analytics to track page views. I can see when I navigate to the pages with the real time feature of the Google Analytics site, so my code must be working

Solution 1:

I would check that your GA initialization is being executed properly. Make sure that your UA# is inside a statement like so

ga('create', 'UA-XXXX-Y')

It looks like it is if your data is showing up on the real-time report.

Make sure that the code that you posted above is being run below the GA initialization code and the initialization code is at the end of the for GA and just after the if you're using GTM.

Post a Comment for "Google Universal Analytics - Command Ignored"