That would be so amazing! I’d love to just accomplish this without any third-party dependency.
I have the ability to fire javascript on specific pages on my site, so this sounds like it may work!
For the benefit of the wider internet, I’ll include the details of my triggers and tags here, but I’m going to DM you and send you the same details. Not sure how inter-instance DMing will work on Lemmy, so this is a fallback.
This is how I have the tags and triggers configured in GTM currently:
#1 Trigger:
click class = single_add_to_cart_button button alt
That would be so amazing! I’d love to just accomplish this without any third-party dependency.
I have the ability to fire javascript on specific pages on my site, so this sounds like it may work!
For the benefit of the wider internet, I’ll include the details of my triggers and tags here, but I’m going to DM you and send you the same details. Not sure how inter-instance DMing will work on Lemmy, so this is a fallback.
This is how I have the tags and triggers configured in GTM currently: