Contact Form 7
Confirmation Message Disappears when Using Google Analytics Goal Tracking (4 posts)

  1. justinnorris
    Posted 5 years ago #

    Hi all,

    I am trying to track submissions of a contact form as a "Goal" in Google Analytics.

    I followed the steps in this blog post to put in the code:


    I can't yet tell if Google Analytics is tracking the submissions yet, but meanwhile the response messages have disappeared -- nothing shows up when someone submits the form.

    Another forum mentioned that this could be due to Admin tracking being disabled, but I logged out of my admin session and even used an IP proxy just to test, and the response message appears not to show for anyone.

    Thanks in advance for any help.


  2. AMCD
    Posted 5 years ago #

    I just ran into this issue as well... confirmation works fine once the code is removed. Anyone know of a solution? I'm using the following:
    on_sent_ok: "pageTracker._trackPageview('/contact-us/Submit.htm');"

  3. clockwork
    Posted 5 years ago #

    Same problem.

    This guy has the correct answers, but is vague on the fix for the disappearing AJAX: http://www.bobzien.com/2010/10/22/google-analytics-goals-with-contact-form-7-the-right-way/

  4. wert790
    Posted 5 years ago #

    Same problem, anyone found any fix yet?

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