Title: Insert Google Conversion Tracking code (onclick) in the submit button
Last modified: May 5, 2018

---

# Insert Google Conversion Tracking code (onclick) in the submit button

 *  Resolved [donaldhwong](https://wordpress.org/support/users/donaldhwong/)
 * (@donaldhwong)
 * [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/)
 * Is there away, we can add (Onclick=””) into your sumbit button code?
 * We need it for Google conversion tracking.

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

 *  [Scott Bolinger](https://wordpress.org/support/users/scottopolis/)
 * (@scottopolis)
 * [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/#post-10255336)
 * You should be able to add your own click listener through Javascript, or you 
   can use the custom form option when you select an email provider in the box settings.
 *  Thread Starter [donaldhwong](https://wordpress.org/support/users/donaldhwong/)
 * (@donaldhwong)
 * [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/#post-10255345)
 * Thank you, Scott. Two questions:
 * 1. How can I use a custom form as a Holler Box pop?
    2. I don’t know how to write
   a click listener in Javascript. Can you help?
 * Many thanks,
    Donald
 *  [Scott Bolinger](https://wordpress.org/support/users/scottopolis/)
 * (@scottopolis)
 * [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/#post-10260404)
 * In the box settings, choose to display the email opt-in, you will see custom 
   form as one of the options underneath Mailchimp, etc.
 * I cannot write Javascript for you, sorry.
 *  Thread Starter [donaldhwong](https://wordpress.org/support/users/donaldhwong/)
 * (@donaldhwong)
 * [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/#post-10260950)
 * Thank you, Scott for your response.
 * One more question, are you popup able to carry Google Adword data clicks through
   to the “Thank you” page.
 * In other words, when I use clicks on a Google Adword Campaign, he arrives at 
   a landing page where signup forms are, as well as your popups. Usually the signup
   form will carry the information of the Google Adword all the way to the “Thank
   you for signing up” page. My question is whether your pop up can do the same.
 * Thank you.
 *  [Scott Bolinger](https://wordpress.org/support/users/scottopolis/)
 * (@scottopolis)
 * [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/#post-10279465)
 * If your ad campaign is using cookies, then the cookie will persist through to
   the thank you page.

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

The topic ‘Insert Google Conversion Tracking code (onclick) in the submit button’
is closed to new replies.

 * ![](https://ps.w.org/holler-box/assets/icon-256x256.png?rev=2753148)
 * [HollerBox — Fast & Effective Popups & Lead-Generation](https://wordpress.org/plugins/holler-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/holler-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/holler-box/)
 * [Active Topics](https://wordpress.org/support/plugin/holler-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/holler-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/holler-box/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Scott Bolinger](https://wordpress.org/support/users/scottopolis/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/insert-google-conversion-tracking-code-onclick-in-the-submit-button/#post-10279465)
 * Status: resolved