Description
Is there a way to attach common parameters to every event sent through the trackers?
In many cases, it’s useful to include shared context with all events. For example, adding the current page/route would make it easier to understand where in the app an event was triggered.
Without this, the same parameter has to be manually added to every event, which is repetitive and error-prone.
Suggestion
It would be helpful to have a mechanism to add some event parameters to some events base on some conditions automatically. for example:
- You need to send page route information to the tracking system to know each event happend in which page.
This would make tracking more consistent and reduce boilerplate.
Description
Is there a way to attach common parameters to every event sent through the trackers?
In many cases, it’s useful to include shared context with all events. For example, adding the current page/route would make it easier to understand where in the app an event was triggered.
Without this, the same parameter has to be manually added to every event, which is repetitive and error-prone.
Suggestion
It would be helpful to have a mechanism to add some event parameters to some events base on some conditions automatically. for example:
This would make tracking more consistent and reduce boilerplate.