Streaming live at 10am (PST)

_gaq is not defined

Hi Folks,

Injected a custom script bit as outlined in option 1 on When object is clicked, the event is fired accordingly though “Uncaught ReferenceError: _gaq is not defined” is returned. Analytics.js loads on the page and pageview event is fired prior to this successfully. Help, anyone!

Here are the resources:

1a -
1b -
2 -
3 - screenshots attached

4 - Steps:
-> land on the page
-> click on any button, example “Sign up for free”
Expected -> event tracking request is made to GA
Actual -> uncaught ReferenceError is thrown because _aq is not defined

Thank you,

Welcome to the Webflow forum!

Could you please edit and provide ALL the necessary details in your post so we can take a look at your site/issue?

In future if you want faster replies and more accurate answers, I suggest including all the details listed in the link above before someone has to ask.

Hope to hear from you soon. Thanks!

@samliew information added, thanks for pointing out. I hope this helps :slight_smile:

Seems like _gaq is for Google Analytics Classic, which is now discontinued by Google.

Webflow has switched to Google Universal Analytics a while back, so I see why _gaq is no longer possible.

Great, thanks for clarifying. What are the integration steps for link tracking with GUA? Would be helpful to have this link updated:

Thank you,

See this and

Please submit your feedback at the bottom of the article.

Thanks for your help @samliew :slight_smile: