Using google analytics on blogger.com

 


  1. 1) Create a Google Analytics Account: If you don't have a Google Analytics account, go to the Google Analytics website and sign up for an account. Follow the instructions to create a property for your blog.


  2. 2) Get Your Tracking Code: Once you've created a property, you'll be given a tracking code. It will look like "UA-12345678-1". Keep this code handy.


  3. 3) Access Your Blogger Dashboard: Go to Blogger.com and log in to your account.


  4. 4)Access the Theme Editor: In your Blogger dashboard, go to the blog you want to track and click on "Theme" in the left sidebar.


  5. 5) Edit HTML: Click the "Edit HTML" button to access your blog's HTML code.


  6. 6) Insert the Google Analytics Tracking Code: In your HTML code, find the <head> section. This is where you should insert your tracking code. Paste the tracking code just before the </head> closing tag.

    It should look something like this:

    html
    <head>                                                                         <!-- other code -->                                                        <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12345678-1"></script>                                                                 <script>                                                                     window.dataLayer = window.dataLayer || [];                                  function gtag(){dataLayer.push(arguments);}                              gtag('js', new Date());                                                      gtag('config', 'UA-12345678-1');                                              </script>                                                                  </head>

  7. 7) Save Your Theme: After adding the tracking code, click the "Save theme" button to apply the changes.


  8. 8) Check Google Analytics: It might take a few hours for Google Analytics to start tracking your Blogger blog. You can check the status by logging into your Google Analytics account and navigating to your property.

Comments

Popular posts from this blog

How to start a blog using Blogger