• i was following this url’s instructions:
    https://contactform7.com/2009/11/24/tracking-form-submissions-with-google-analytics/

    is it possible that i add the

    on_sent_ok: “pageTracker._trackPageview(‘/mysite/thank-you.html’);”

    and

    on_sent_ok: “pageTracker._trackEvent(‘Formular’,’Absenden’,’Dr. Klein’);”

    into the additional settings field to both track a virtual pageview and event tracking within analytics?

    would i simply add them one after another but on separate lines ie.

    on_sent_ok: “pageTracker._trackPageview(‘/mysite/thank-you.html’);”
    on_sent_ok: “pageTracker._trackEvent(‘Formular’,’Absenden’,’Dr. Klein’);”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter max900

    (@max900)

    p.s.

    when i then tested it my “thank you box” didnt’ appear after submitting but it submitted successful. any help?

    Thread Starter max900

    (@max900)

    by successful i mean it went to my email but i’ll have to wait and see if it appears in GA due to the time lag for data.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] analytics tracking’ is closed to new replies.