WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Plugin: Contact Form 7] Redirecting to Thank You Page

[Plugin: Contact Form 7] Redirecting to Thank You Page

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    @takayukister

    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.

    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

    Agnes

    @agneslesagegmailcom

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Contact Form 7] Redirecting to Thank You Page’ is closed to new replies.
Skip to toolbar