Hi!
I have set up analytics tracking to record in Activecampaign when users open the sales page.
The sales page is opened via clicking an off-canvas toggle. The toggle has the ID
The script is implemented in Google Tag Manager.
However, I need to tell Google Tag Manager when it needs to fire this particular tag.
This is where I run into problems. I tried to get the tag to fire when the HTML ID of the click is ‘opened_sales_page-anchor-toggle’ (see screenshot below).
However, that does not come through as an HTML ID for Google Tag manager.
I have tried getting the click to fire on the click text, and that does work. However, then the tag does NOT fire if someone clicks the graphic next to the text, or clicks somewhere else on the toggle, just outside the text.
How can I fix this?