Title: Google Analytics tracking code interfering with form submission
Last modified: April 27, 2017

---

# Google Analytics tracking code interfering with form submission

 *  [nextnorth](https://wordpress.org/support/users/nextnorth/)
 * (@nextnorth)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-interfering-with-form-submission/)
 * Hi
 * Have been investigating issues with our contact form [http://www.lmkthermosafe.co.uk/request-quote/](http://www.lmkthermosafe.co.uk/request-quote/)
 * The form is working – data is submitted correctly to us – but on hitting the 
   submit button, there is no on-screen confirmation of successful submission and
   the form does not clear down. Consequently users are confused and tend to re-
   submit.
 * Have isolated the problem to the tracker code we were given by Google Analytics
   to monitor ad word conversions. We added this to the Additional Settings tab:
 * on_sent_ok:”_gaq.push([‘_trackEvent’,’form’, ‘submit’, ‘contact us’ ])”
 * Am guessing this has interfered with submission javascript?
 * Any help would very much appreciated.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-interfering-with-form-submission/#post-9074613)
 * You don’t have Google Analytics tracking code on the page. Obviously the on_sent_ok
   code doesn’t work.

Viewing 1 replies (of 1 total)

The topic ‘Google Analytics tracking code interfering with form submission’ is closed
to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-interfering-with-form-submission/#post-9074613)
 * Status: not resolved