How to integrate google analytics on your website(Angular, React, JS, PHP, etc)?
2 min readJun 19, 2020
So I m going to integrate the google analytics in the website
First of all, before going to integrate you need to set up the analytics account.
After creating an account you need to create a property from where you're getting the tracking code and view id.
You choose the web
Then add your data for the same.
Go to Tracking Info -> Tracking Code
Just copy the code and then your google analytics is set for your website.
Here you will your analytics report.
NOw you can put that code in any website Angular, React, Php, or simply HTML or anyone that’s it, it works like a charm.
Track your users, get to know what they want