How to add a Google Tag to the buttons for analytics

Hi Everyone,

Is there a way to add a Google Tag to the buttons generated in the Page Builder for Google Analytics. This tag needs to be added within the A Href tag as shown below. I can’t find anywhere this could be added.

<a href="http://gaorfid.com/ask-the-experts/" onClick="ga('send', 'event', { eventCategory: 'Conversion', eventAction: 'Contact-Us', eventLabel: 'Expert'});">

For example, we want to add it to the button “Talk to an Expert” in the banner image of this page: http://gaorfid.com/gao-access-control-system/

thank you!

Hey Vincent,

Sorry to say but that won’t be possible. The only way I could think of this can be done is by creating the button manually using our HTML module. I’m not really sure but doesn’t Google offer another way to track via JS?

Ben