Contact Form 7
[resolved] use google analytics in form problem (2 posts)

  1. guarez
    Posted 5 years ago #

    Hi, I'm trying to use google analytics in the contact form, I read this http://contactform7.com/2009/11/24/tracking-form-submissions-with-google-analytics/ but does not work, I have an error javascript that says this:

    Message: 'pageTracker' is undefined
    Line: 49
    Character: 47
    Code: 0
    URI: http://www.xxxxxxxxxxxxxxxxxxxx.com/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.1

    What is pageTracker?

  2. guarez
    Posted 5 years ago #

    you need to use this

    on_sent_ok: "_gaq.push(['_trackPageview', '/contact-us-success']);"

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic