I am trying to implement GA event tracking on a few Pro Theme buttons. I have gathered that I should add a class to the specific button and then add a script in Pro Theme’s main Theme Options JS. Can anyone help with the script that needs to be dropped in main theme options JS area? If it helps, here is what I included in another site’s HTML:
onClick=“ga(‘send’, ‘event’, ‘button’, ‘click’, ‘incfile’);”