Google Conversion Tracking Integration.. - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Google Conversion Tracking Integration..

ML

Mike Lawson

SP Page Builder 4 years ago

Hello

I am tring to integrate converions tracking via google tag manager, I have added the appropriate tracking code in the head tags of the site, however in order to complete the tracking there is a specific snippet that must be added to the clickable element called the onclick attribute, which can be easily added in a standard HTML link <a href=> or <button> element, however I need helping adding the onclick attribute to a button add-on in SPPB. Here's an example of how Google wants the attribute structured:

<button onclick="return gtag_report_conversion(‘example.com/your-link')">Submit</button>

Is there any way to integrate that into the button addon? Thanks

0
1 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #13107

Hi there!

Thanks for your query.

I will let our Developer team know about your wish.

Best Regards

0