Title: Tracking event Google Analytics
Last modified: August 22, 2016

---

# Tracking event Google Analytics

 *  [Maxime](https://wordpress.org/support/users/maximefulpin/)
 * (@maximefulpin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/)
 * Hey there,
 * The implementation of the tracking Analytics with Event does work, but a validation
   message is NOT screened when you send the form (no errors and the message is 
   well sent by mail)
 * [http://contactform7.com/tracking-form-submissions-with-google-analytics/](http://contactform7.com/tracking-form-submissions-with-google-analytics/)
   
   on_sent_ok: “_gaq.push([‘_trackEvent’,’Formulaires’,’Succès’,’Contact’]);”
 * Do you have a solution for printing the validation message with the line above
   set up as complementary setting?
 * Thanks a lot.
 * Maxime
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/#post-5855762)
 * Yes. Make sure you have a correct code in the `on_sent_ok` setting.
 *  Thread Starter [Maxime](https://wordpress.org/support/users/maximefulpin/)
 * (@maximefulpin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/#post-5855854)
 * Hey Takayuki,
 * thanks for your reply.
 * The code setting up in the complementary setting is now:
 * on_sent_ok: “_gaq.push([‘_trackEvent’, ‘Formulaires’, ‘Succès’, ‘Contact’]);”
 * I do not see anything wrong (I should be blind *_*). Is something wrong, because
   it is still not working.
 * Thanks for your help.
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/#post-5855874)
 * Where can I see your site?
 *  Thread Starter [Maxime](https://wordpress.org/support/users/maximefulpin/)
 * (@maximefulpin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/#post-5855875)
 * Hi Takayuki,
 * This is one of the concerned website: [http://www.osteopathehyeres.fr](http://www.osteopathehyeres.fr)
 * FYI, I am using Google Analytics by Yoast.
 * Cheers
 * Maxime
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/#post-5855881)
 * What do you have [in the Form field](http://contactform7.com/admin-screen/)?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Tracking event Google Analytics’ 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/)

## Tags

 * [event](https://wordpress.org/support/topic-tag/event/)
 * [form](https://wordpress.org/support/topic-tag/form/)

 * 5 replies
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/tracking-event-google-analytics/#post-5855881)
 * Status: not resolved