How do I activate Google Analytics for my website?
1. To set up an Google Analytics account, login to https://marketingplatform.google.com/about/analytics/
2. Click on Admin (Left bottom of page)
3. Provide an Account Name and fill necessary details, such as country, time zone and currency etc.
4. Add a data stream
5. Click Web or iOS app or Android app
Old method - show advanced options. Let's do not select this old because, its giving warning -
"Universal Analytics properties will stop collecting data starting July 1, 2023. It’s recommended that you create a Google Analytics 4 property instead"
Here let's Set up data collection (for websites) (Select as per your requirement)
Add the Analytics tag to your web pages to see the data in new Google Analytics 4 property.
You may see error "Data collection isn’t active for your website. If you installed tags more than 48 hours ago, make sure they are set up correctly."
Click Admin.
In the Property column, check that you have your new Google Analytics 4 property selected, then click
Set up data stream
Set up your web stream
Type website URL, (example www.renjithplavada.com , Type a Stream name (example renjithplavada.com)
click on create stream
Follow Tagging Instructions as per your requirement.
See tagging instructions for respective sites visit - https://support.google.com/analytics/answer/10840722
For web, Global site tag (gtag.js) Use this if you're using a website builder or CMS-hosted site
Copy the global site tag into the <head> section of your HTML.
In case you are using website builder example GoDaddy or Shopify tag your website using
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-(yourTrackingID) "></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MJQ6Y6RVRJ');
</script>
एक टिप्पणी भेजें