google-analytics
Adding Analytics to React App
To the component to track:
To the main website
Other tips
Has to be Class React.Component, and not a functional component
FireFox by default disables trackers. To confirm, you'll see this in the console log:
Disable tracker blocking by clicking the shield/lock button on the left side of the address bar and then clicking "disable blocking for this site"
Last updated