How do I trigger an event via Google Tag Manager when the user clicks the 'Add To Cart' text (not button) on a Squarespace product page? -


first time question asker here.

i looking trigger event via google tag manager when user clicks 'add cart' text (not button) on square space product page i.e. http://shop.ryanputn.am/all/custom-ebbets-sig-cap

the add cart text container code looks this: [div class="sqs-add-to-cart-button-inner"]add cart[/div]

as isn't button, assume have use click text, click text equal add cart, doesn't seem efficient installation though.

is there better way, easier use js push event?

create custom event trigger & use event name gtm.click element classes contains sqs-add-to-cart-button-inner


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -