React
Last updated
Last updated
Here are the easy steps to add the SiteBehaviour Tracking script to their React project.
Go to your and click on the Settings button for your site.
Go to the Tracking code tab.
Click on Copy to copy the Tracking Code to your clipboard.
Locate the public
Folder.
In your React project directory, find the public
folder. This folder contains static files like index.html
.
Open the index.html
file located in the public
folder.
Locate the closing </head>
tag in the file.
Paste the Tracking script just before the closing </head>
tag in the index.html
file.
9 . After allowing a couple of minutes for the update, check for statistics. We recommend visiting your website to ensure that your initial activity is accurately reflected on the .