• Hi,

    I read your blog about tracking of form submissions.

    I added the following code to the additional settings however now when I click send I get no thankyou message after the form has been submitted.

    on_sent_ok: “_gaq.push([‘_trackEvent’, ‘Contact Form’, ‘Submit’]);”

    Can you help.

    Thanks

    Duncan

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve actually been encountering the same problem. I’ve seen it on two different sites, each on different servers and using different themes.

    Just to add to Duncan’s post, I noticed that it’s only the “Thank You” message that doesn’t appear. The other messages–such as error messages–still work with the tracking code in place.

    I’m not any good at JavaScript, but I’m guessing it’s probably some kind of issue related to scripts conflicted with one another? Or not?

    Either way, any help is greatly appreciated!

    Thread Starter dunxmax

    (@dunxmax)

    Hi,

    Thanks for your help on this everybody.

    I’ve been trying to work out where my problem is.

    I opened up Firebug and got the following error message:

    “ReferenceError: _gaq is not defined
    _gaq.push([‘_trackEvent’, ‘Contact Form’, ‘Submit’]);”

    I’m not a coder so I don’t really understand, but I’m guessing I’ve set something up incorrectly – do I need to set something up in Google Analytics? Which I don’t have access to at the moment, but can get it.

    Any help appreciated.

    Thanks

    D

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tracking form and thankyou message’ is closed to new replies.