How to Add Google Analytics to WordPress Website?

How to Add Google Analytics to WordPress Website?

Do you want to know how to add Google Analytics to WordPress Website? It’s effortless. I will share with you step by step procedures to add google analytics in simple steps. If you want to start or grow your blog, read this blog.

Are you ready?

Let’s get started.

3 Easy Steps to Add Google Analytics to WordPress Website Without Using Any Plugin

Follow these steps to add Google analytics to your WordPress website. It’s very easy you just have to read and apply.

Step 1: Log In to Google Analytics

The first step is to log in to your Google Analytics. You can use this link to access it directly. After that, you will be navigated to the dashboard.

Step 2: Get Google Analytics Tracking Code

Follow the below-mentioned steps to copy tracking code from Google analytics:

How to Add Google Analytics to WordPress Website
  • Click on the “admin” option at the bottom left side of the dashboard.
  • Click on the “Create Property” option.
  • After that, you will see several options. Check the Web option & click on the continue button at the bottom of the page.
  • You will be navigated to the “Create a property” option, where you have to mention website name, URL, industry category & time zone.
  • Click on the create option.
  • You will find “Tracking code, “copy it.

Step 3: Log in to WordPress Website & Paste Tracking Code

The next step involves pasting the tracking code at your WordPress websites section to track the website activity of your website.

Follow the below-mentioned steps to log in to your WordPress website:

  1. Access the login page of your website. Usually, the URL to login to any WordPress website by default is
  2. Navigate to the Appearance section at the left menu of the website.
  3. Click on the “Theme Editor” option.
  4. Navigate to the “Theme Header” option, which is also known as header.php
  5. Paste the tracking code copied earlier in between sections.
  6. Click on the “Update File” option at the bottom.

That’s it.

How to test whether you have followed the steps rightly & integrated Google analytics at your website successfully?

Simply open your website in Incognito mode & head over to your Google Analytics dashboard. Click on Realtime Overview & you will find one active user.

If you can see active users, it means you have successfully added tracking code to your WordPress Website.

Now I will come up with a new post tomorrow on How to add your website to Google Search Console.

How to Add Google Analytics to WordPress Website? via @bloggingfilter
Ayesha Siddiqua

Ayesha Siddiqua

Ayesha is the founder of Blogging Filter and Invent Isle. She is a passionate blogger, digital marketing professional & tech enthusiast. She puts an exceptional effort to research and turn it into helpful tips to answer her readers’ queries.

11 Responses

    1. You can also track your ‘Free WordPress Blog’ by using Google Analytics. Firstly, you need to get the tracking code from the Google Analytics and the steps is mentioned in the post. After that simply, paste the code inside the header section of your theme. However, if you are planning to monetize your blog or if you want to brand yourself it’s better to buy a domain & hosting. You can read my blog on how to start a profitable blog in 2020.

      1. You actually got the nerve.
        I want to buy my site, not to monetize only but to own it too. As it has good SEO that it appears on top from anywhere.

        Can you please help me with how can O buy and still not loose anything from the blog?

Leave a Reply

Your email address will not be published. Required fields are marked *

eight + 11 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

welcom to blogging filter

I created this blog, or you can say a community of bloggers, entrepreneurs, and everyone who is striving to find their professional identity in this crisis. I believe in sharing, and thus, I am sharing my knowledge on how to start, scale, and monetize a blog or an online business. If you want to start your blog, website, or an online business, become part of this growing community of 1000+ bloggers and entrepreneurs. If you want to know more about me, read here.


This post may contain affiliate links. Meaning, I get a commission if you purchase through my links, at no cost to you. Read the full disclaimer here.

Share via
Copy link
Powered by Social Snap
%d bloggers like this: