This topic is: not resolved
-
Hello,
I’m trying to add the onclick event to the shortcode that dhvc generate, I need to track the clicks on buttons and send that info to google analytics.
How can I do that? I tried inserting this into the shortcode but does not work:
<!–StartFragment–>onClick=”ga(‘send’,’event’,’….. )”” <!–EndFragment–>
thanks.