WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Redirecting to Thank You Page (4 posts)

  1. Beyondus
    Member
    Posted 3 years ago #

    Our goal is to track users that have filled out the form using our google analytics. In the past that was done by tracking the number of visits to a form's thank you page.

    Since Contact Form 7 doesn't redirect, or at least at its default state, I was wondering if people know of a way to redirect to a thank you page or way to use analytics to track form submissions.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    See Tracking Form Submissions with Google Analytics

    Note: The sample javascript code for GA page tracking is not up-to-date. See also docs on GA help.

  3. djohnson515
    Member
    Posted 3 years ago #

    Does anyone know how to run google website optimizer with contact form 7? I need to supply a conversion url for an A/B split test, and Im not sure what URL to give it

  4. Agnes
    Member
    Posted 2 years ago #

    I have found a method to get Google Analytics track contact form result as an objective:

    - I ve set an objective in GA for the URL "/enquiries-bookings/successfully-sent"

    - Then in Contact Form 7 settings page, I have added this at te end of the message for "# Sender's message was sent successfully":
    <script type="text/javascript">_gaq.push(['_trackPageview', '/enquiries-bookings/successfully-sent']);</script>

    And that simulates loading the above page, that counts as a goal under Google Analytics

    However, now I want to do a A/B testing using Google Website Optimized and I am not sure this method will work, or I should need a real "thank you" page to be tracked.
    Is it possible to add some kind of redirect javascript function the same way, redirecting to another page?
    Any experience welcome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic