Button Addon And Tracking Code - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Button Addon And Tracking Code

K

kriss

SP Page Builder 3 years ago

Hi

I had the same question with the image-addon. How can i add something like

onclick="_paq.push(['trackEvent', 'Contact', 'Email Link Click', '[email protected]']);

to a link within the Button Addon. I need it to track Events.

Thank you Regards Christoph

0
1 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #90808

Hi Kriss,

by default you cannot, you have to create your own button inside RAW HTML addon.

use classes from button addon and put your action code inside.

<a href="#" class="btn btn-primary btn-md mr-4">Button</a>

0