WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Tracking Google Analytics using "Thank You" page. (2 posts)

  1. aaron1728
    Member
    Posted 4 years ago #

    I've already been to http://contactform7.com/2009/11/24/tracking-form-submissions-with-google-analytics/ and have tried both:

    on_sent_ok: "location.replace('domain.com/confirmation/');"
    and
    on_sent_ok: "location = 'http://domain.com/thank-you/';"

    But it's not clear where the javascript goes. I have a thank-you page and I've inserted the code there.

    However, neither of the above on_sent_ok lines results in being redirected to the thank-you page after I complete the form successfully.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. aaron1728
    Member
    Posted 4 years ago #

    Please help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic