giorgino
Well-known member
Today I've set up a tracking event
Something like
but I found an error in JS console like this:
Googling I've found this should be an error related to XenForo default Google Analytics snippet.
How can I solve this?
Something like
Code:
<a href="https://externalsite.com" onClick="ga('send', 'event', 'sponsored link', 'Click', 'campaign', 1)" target="_blank">Click Here!</a>
but I found an error in JS console like this:
Code:
Uncaught ReferenceError: ga is not defined
Googling I've found this should be an error related to XenForo default Google Analytics snippet.
How can I solve this?