Im relatively new to matomo tag manager, but have at least some experience from google.
I have the following problem:
I want to create an event for form submissions
these are roundabout 15 or more
I wanted to use the success text
The code is as this in Inspector mode:
div id=“webform_JA8rOd_success_text” class=“std webforms-success-text” style="">Thank you for ordering our Drugs of Abuse Brochure. An e-mail with the respective download link will be sent to you immediately.</div
When I look at the class in inspector mode, it seems that it is dynamic, first time it is webform_eIl8RN_success_text or #webform_JA8rOd_success_text
So it looks to me that both, ID and class, are produced dynamically from the CMS (Magento). Is there any workaround or do I miss anything?
Trigger:
Selection mode: CSS Selector
CSS selector: .class
Only trigger when Visible Element Classes contains std webforms-success-text
I don’t understand clearly when you speak about ID or class…
Please use triple ``` char (alone in its line) to start code in the forum, and again triple ``` char (still alone in its line) to end the code…
I have tried a number of things in MTM; via ELEMENT ID or CSS Selector and Im not getting it to work.
It looks simple to do it, but Im not getting any events.
No, I dont. Im not sure what is going on there. I must say though that I dont trust the debug mode. Some triggers dont seem to show up there, while I can see stuff live.