Event tracking code not working CF7 and Google analytics
-
Hi all,
There’s been conflicting information on event tracking for CF7 and I am looking for some clarificationI have installed the following to test which one will be picked up by GA
on_sent_ok: “ga(‘send’, ‘event’, ‘Form’,’Enquire’, ‘CommunityPage’);”
on_sent_ok: “_gaq.push(([‘_trackEvent’, ‘form’, ‘Enquire’,LocationsPage’]);”Category = form
Action = enquire
Label = communitypage/locations pageI am using the lasted GA code and wanted to turn these events into goals – I followed the following instructions for that https://www.impression.co.uk/blog/825/event-tracking-wpcf7-universal-analytics/
But nothing is getting picked up in the goal section or the event section of GA so I suspect something may be wrong with the CF7 Code?
Any help will be much appreciated as I can’t figure what is wrong…
Thanks
The topic ‘Event tracking code not working CF7 and Google analytics’ is closed to new replies.