Install Simple Analytics with React
Most projects have the structure of npx create-react-app my-app
. Let’s follow that structure.
You don’t need any dependency to install Simple Analytics.
- Go to your HTML file: usually in
public/index.html
- Paste the embed code from how to add our script at the end of body of that file.
- Save this file and you’re done!
If you encounter issues, don’t hesitate to contact us via our support channels.