Uncaught ReferenceError: _gaq is not defined - Switch to universal analytics

1.5k Views Asked by At

I recently updated to universal analytics and now push event data to the datalayer, rather than using the old _gaq. I've gone through my code and removed all traces of _gaq, however, when events are firing i'm getting the following error message:

Uncaught ReferenceError: _gaq is not defined

It appears that there are still some references inside the following file:

http://www.googletagmanager.com/gtm.js

Is it possible to refresh this script so that it removes any references to _gaq?

Any help would be much appreciated

0

There are 0 best solutions below