Title: [Plugin: Contact Form 7] Javascript error when adding tracking code
Last modified: August 19, 2016

---

# [Plugin: Contact Form 7] Javascript error when adding tracking code

 *  Anonymous User 260705
 * (@anonymized-260705)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-javascript-error-when-adding-tracking-code/)
 * Hello,
 * I have added a tracking code to my form following these instructions:
 * [http://contactform7.com/2009/11/24/tracking-form-submissions-with-google-analytics/](http://contactform7.com/2009/11/24/tracking-form-submissions-with-google-analytics/)
 * An when I send it , no ajax behaviour and the success sent message is not displayed.
 * This is the exactly code I am adding:
 * `on_sent_ok: "pageTracker._trackEvent('Contacte','[your-name]','[your-email]');"`
 * Can somebody please let me know where the problem can be?
 * Thank you!
 * [http://wordpress.org/extend/plugins/contact-form-7/](http://wordpress.org/extend/plugins/contact-form-7/)

Viewing 1 replies (of 1 total)

 *  [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-javascript-error-when-adding-tracking-code/#post-1409500)
 * Can you show the page URL?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Contact Form 7] Javascript error when adding tracking code’ 
is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-javascript-error-when-adding-tracking-code/#post-1409500)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
