Title: Conversion tracking
Last modified: August 31, 2016

---

# Conversion tracking

 *  [alexred20](https://wordpress.org/support/users/alexred20/)
 * (@alexred20)
 * [10 years ago](https://wordpress.org/support/topic/conversion-tracking-8/)
 * Hi there,
 * I have found that Google Analytics isn’t recording all of the conversions on 
   my site (only 80%), so I have been getting assistance from a friend who is an
   expert in analytics. Currently, I use a section within the contact form 7 plugin
   to apply a piece of code that fires/triggers the custom event. My friend has 
   advised me to add a new piece of code directly into the HTML of the site.
 * the code would go on the line
 * <form action=”/free-trial#wpcf7-f15650-p15651-o1″ method=”post” class=”wpcf7-
   form cf7_custom_style_1 sent” novalidate=”novalidate” _lpchecked=”1″>
 * So it becomes
 * <form action=”/free-trial#wpcf7-f15650-p15651-o1″ method=”post” onsubmit=”dataLayer.
   push({‘event’:’FreeTrialSubmit’});” class=”wpcf7-form cf7_custom_style_1 sent”
   novalidate=”novalidate” _lpchecked=”1″>
 * However, I can’t see this code on the HTML text area of the relevant pages within
   WordPress. Presumably it is set up so that you can’t access it from WordPress.
   I’ve been advised by my theme developer that the code could be in the Contact
   Form 7 plugin folder in WP-Content, however I can’t find it.
 * Please can someone advise where the above code might be located?
 * Thanks in advance,
    Alex
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

The topic ‘Conversion tracking’ 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

 * [conversion tracking](https://wordpress.org/support/topic-tag/conversion-tracking/)

 * 0 replies
 * 1 participant
 * Last reply from: [alexred20](https://wordpress.org/support/users/alexred20/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/conversion-tracking-8/)
 * Status: not resolved