Event tracking code not working CF7 and Google analytics
-
Hi all,
I am getting conflicted sources for which code to use for CF7 Google Analytic tracking so I am looking for someone to clarify.
Here are the codes I am trying…which none seem to have been picked up in Google Analytics
on_sent_ok: “ga(‘send’, ‘event’, ‘Form’,’Enquire’, ‘CommunityPage’);”
on_sent_ok: “_gaq.push(([‘_trackEvent’, ‘form’, ‘Enquire’, ‘LocationsPage’]);”Form = Category
Enquire = Action
Communitypage/Locationspage = LabelAs far as I am aware, I have the latest GA code installed and inserting one of these codes into the ‘additional settings’ for CF form should be picked up in analytics. I would like to turn these into goals but so far all I am getting is the event-tracking.com spam…and this is the instruction I followed for turning events into goals
https://www.impression.co.uk/blog/825/event-tracking-wpcf7-universal-analytics/
Please advise
Many thanks and much appreciated
The topic ‘Event tracking code not working CF7 and Google analytics’ is closed to new replies.