WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. guarez
    Member
    Posted 3 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
    Member
    Posted 3 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

About this Topic