Skip to content
weballin

weballin DIGIWIKI

Custom Event Trigger

A custom event trigger fires GTM tags when a data-layer event and its conditions match.

weballin

Send an event name and relevant data for the intended action, then match the trigger configuration. Test regex and extra conditions for unintended matches.

SPAs can still support standard clicks and history detection; not every interaction needs a manual push. useEffect is a React hook, not a React Router-specific hook.

References

Frequently asked questions

What matters for route-change measurement?

Send once at the correct URL and title update point and check for duplication with automatic page views.