Contact Form 7
Analytics Conversion Goals - Additional Settings (3 posts)

  1. thebeanieman
    Posted 5 years ago #

    I have been trying to setup 'Google Analytics Conversion Goals'. The issue I have is that the form is submitted with ajax, so the page doesnt change.

    I have read this thread:

    Im just getting the same error as other people have reported, the confirmation message does not show. There doesn't seem to be a solution.

    The code I added to Additional Settings is:
    on_sent_ok: "pageTracker._trackPageview('/Contact/Send')";

    Can anyone help me please?

  2. asakota
    Posted 5 years ago #

    if you are using new google analytics tracking code...you should use following:
    on_sent_ok: "_gaq.push(['_trackPageview', '/thank-you.html']);"

    let me know if it works for you

  3. thebeanieman
    Posted 5 years ago #

    Thanks asakota, that has resolved the issue. Guess I need to check my analytics in a few days time.

    Thanks soo much,

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