Submit Button Event Tracking in Google Analytics -
I can not get event tracking to work on a submit button press on the site.
The relevant code is
type button class = "BTN-valid valid contact-BTN" "submit" onclick = "_gaq.push (['_ trackEvent' 'Clutchquality', 'submit']); "> This syntax is correct?
Are you using the right analytics object (i.e. _gaq GA)? It will depend on whether you are using Universal Analytics (Analytics .js) or Classic Google Analytics (ga.js) in your snippet. But I have seen conditions where the user has _gaq and gaob Jects have been mixed syntax-wise, this looks correct.
More info on event push syntax can be found here.
Hope this will be helpful.
Comments
Post a Comment