How can you setup Google Analytics tracking code to your website

How can you setup Google Analytics tracking code to your website

What is Google Analytics?

Google Analytics is web analytics service offered be Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand.
Google launched the service in November 2005 after acquiring developer Urchin.
Google Analytics is the most widely used web analytics service on the web. Google Analytics provides an SDK that allows gathering usage data from IOS & Android app, known as Google Analytics for mobile apps.

Process to setup your tracking code:

Step 1. Search for Google Analytics on Google search.

Step 2. Click on analytics.google.com

Step 3. Click on Sign up

Step 4. Add your account name. Example: Karan Singh

Step 5. Write your website name. Example: Digital Marketing Tips & Tricks.

Step 6. Add your website URL. Example: http:// www.digitalmarketerkaran.blogspot.com 
            Note: http:// is already present.

Step 7. Add Industry category. Example: Job & Education.

Step 8. Add reporting time zone. Example: India.

Step 9. Click on get tracking ID, Accept terms & Conditions and continue.

Step 10. Then your tracking ID will be generated. Example: Tracking ID: UA-123456789-1

Step 11. You will see Global site Tag (gtag.js)

Step 12. <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-138644607-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-138644607-1');
</script>

This is the example of tracking ID 
note: copy & paste this code as the first item into the <HEAD> of every webpage you want to track.

Pattern:
<html>
<head>
//website tracking code-Global site tag
</head>
<body> (page content)
</body>
</html>



Comments

  1. "Effective Digital Marketing Strategies: Leveraging SEO, Social Media, Content Marketing, and Data Analytics to Boost Brand Awareness, Engage Audiences, and Drive Sales in the Digital Age."
    Digital Marketing

    ReplyDelete
  2. Such a piece of great information for a blogger I am a professional blogger thanks.

    Connect Infosoft Technologies Pvt. Ltd. provides Website design and Mobile App development services to global clients. Connect Infosoft has more than 25+ years of experience in software development with a strong focus on mobile app development for all kinds of platforms including iOS and Android.

    These are our services. Please take a moment to check them all out.

    Custom SaaS Software In Los Angeles
    Custom Web App Development Services in Los Angeles

    ReplyDelete

Post a Comment

Popular posts from this blog

OFF-Page SEO

Digital Marketing Services in Goregaon