The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Contact Form 7
Google Website Optimiser (3 posts)

  1. krmmalik
    Posted 4 years ago #

    Is there a way the contact form could be used as a final conversion page to be used with either A/B testing or Multivariate testing in Google analytics?

    Pushing a pageview using on_sent_ok isnt going to work because i need to supply an actual final URL inside the Google Website Optimiser for it be considered a conversion.


  2. Agnes
    Posted 4 years ago #

    I have foudnd 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.
    Any experience welcome!

  3. Agnes
    Posted 4 years ago #

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