Been really struggling with triggers. Tried everything.
We are trying to track clicks on links with phone numbers and also form completes.
Both have issues.
For tel links we are using this css selector
a[href^="tel"] which works as a selector by itself, however the zaraz trigger records nothing. It does throw an error in the console though when you click a link with tel in the href. this is the error:
3 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'catch')
at s.js?z=JTd...blah blah long string==:3:195
at new Promise (<anonymous>)
at zaraz.track (s.js?
For the forms, we are using a simple id selector. Each form has its own id.
However, we seem to be recording exactly the same number of form submissions in the trigger for every form - I have 6 triggers and they all report 3 submissions in the last 30 mins.
That is possible but seems unlikely. Each trigger has a different form id.
We have rocket loader, page cache and other CF stuff on.
Please help or we’ll have go back to GTM!!!