Google Ads Conversion Tracking

If you want to record a Google Ads conversion whenever a lead submits a form in a popup, you can use JavaScript added to the header or footer of your website to target custom HollerBox events to trigger a conversion.

Tracking form submissions

Use this code to track a form (Name/Email) submission.

document.addEventListener( 'holler_submit', e => {
  gtag('event', 'conversion', {'send_to': 'GOOGLE-CONVERSION-ID'});
} )

Tracking button conversions

Use this code to track when a Yes button choice conversion occurs.

document.addEventListener( 'holler_choose_yes', e => {
  gtag('event', 'conversion', {'send_to': 'GOOGLE-CONVERSION-ID'});
} )<br>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.