You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for providing the module. Have two questions -
Wondering if react-tracking supports react-router4? We wish to track page view events.
Can module support use of multiple simultaneous analytics accounts (say different google analytics accounts)? Useful for sites that has multi-tenants each tracking their own analytics.
The text was updated successfully, but these errors were encountered:
Hi @vijayyadav06 thanks for the question! Sorry for the late response here :)
Yes, I don't see why RRv4 wouldn't be supported. Page View events can be triggered on "page components" componentDidMount() lifecycle method either via using the dispatchOnMount behavior, or by defining a top-level process function that can achieve the same result. More details on this in the main README.
If you've tried it out and are having any issues with RRv4 would love to hear about them. Feel free to follow-up to this issue or create a new one with some more details.
Yes, since you ultimately have control over what happens to the tracking data you can opt to have it go anywhere, even running your own logic to control what happens depending on what the data looks like.
For example, your dispatch function could look something like this:
Thanks for providing the module. Have two questions -
The text was updated successfully, but these errors were encountered: