• Resolved jozefjgm

    (@jozefjgm)


    Hi all,
    There’s been conflicting information on event tracking for CF7 and I am looking for some clarification

    I 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 page

    I 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

    https://wordpress.org/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Event tracking code not working CF7 and Google analytics’ is closed to new replies.