Comments Jan started the conversationFebruary 19, 2020 at 10:07amHello, I was given a GTM code to paste into buttons. How do I go about it ? I am a great fan of your theme ! :) Code is <a href="https://filmkiosk.pl/wp-content/uploads/FILMKIOSK-oferta-3.pdf" target="_blank"></a> Should be <a href="https://filmkiosk.pl/wp-content/uploads/FILMKIOSK-oferta-3.pdf" target="_blank" onclick="ga('send', 'event', 'Pobrał Ofertę', 'submit' )"></a> 8,992Tahir repliedFebruary 19, 2020 at 2:46pmHey Again,You will have to refer to the Official Documentation as the Buttons only have a Extra css class option that you can use to target the individual button .This might help : https://www.wpbeginner.com/wp-tutorials/how-to-add-google-analytics-event-tracking-in-wordpress/ . Best ThemeNectar Support Team Sign in to reply ...
Hello,
I was given a GTM code to paste into buttons. How do I go about it ?
I am a great fan of your theme ! :)
Code is
<a
href="https://filmkiosk.pl/wp-content/uploads/FILMKIOSK-oferta-3.pdf"
target="_blank"></a>
Should be
<a
href="https://filmkiosk.pl/wp-content/uploads/FILMKIOSK-oferta-3.pdf"
target="_blank" onclick="ga('send', 'event', 'Pobrał Ofertę',
'submit' )"></a>
Hey Again,
You will have to refer to the Official Documentation as the Buttons only have a Extra css class option that you can use to target the individual button .
This might help : https://www.wpbeginner.com/wp-tutorials/how-to-add-google-analytics-event-tracking-in-wordpress/ .
Best
ThemeNectar Support Team