Hi Gal,
If you check this article: https://timonweb.com/posts/fixing-uncaught-referenceerror-ga-is-not-defined/
When I also type window.ga into the console it says undefined.
It might be a plugin like autoptimise that’s breaking it.
With CAOS are you using the analytics.js or gtag.js?
I have compatibility mode set to None(default).
Seems in the console I’m now also getting this error:
https://MYWEBSITE.com/wp-json/caos/v1/proxy/plugins/ua/linkid.js net::ERR_ABORTED 404
I disabled autoptimise.
Hi Daan,
It doesn’t seem to being triggered no.
When I add the console.log code it doesn’t display hi! to the console when I submit a form.
When I use the original code I pasted above, it does give an error in the console: “ReferenceError: ga is not defined”.
Any ideas?
Thank you Daan.