Replies: 1 comment
-
|
Any chance you can use capture events for the click? we stop many of those events once we've handled them so we don't handle them again. https://www.simoahava.com/analytics/simple-custom-event-listeners-gtm/ Otherwise, you could wrap usages and fire a custom event for onPress/onPressStart/onPressEnd/onAction/etc, this might be useful because then you can actually track real interactions, not just click events, which sometimes the browser fires additional times for compatibility in certain scenarios. Examples of where this might be useful |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The
onPressmethod triggers an event for which the type ispress. But it isn't catched by my Google Tag Manager who is catching clicks only.How would you handle that?
Is there a way for GTM to catch
pressevents? Or should I override theonPressevent type to useclickinstead? Should I override theonPressmethod to dispatch aclickevent as well as thepressevent?Thanks in advance for your help
Beta Was this translation helpful? Give feedback.
All reactions