• Menu
  • Skip to right header navigation
  • Skip to main content
  • Skip to secondary navigation
  • Skip to primary sidebar

Before Header

  • Bloglovin
  • Email
  • Facebook
  • Pinterest

The Blogging Shortcut

Shortcuts to Marketing and Monetizing Your Blog

  • How to Start a Blog
  • Blog
  • How to Start a Blog
  • Blog
  • Search
  • HOME
  • PRIVACY POLICY
  • TERMS AND CONDITIONS
  • AFFILIATE DISCLAIMER
  • DISCLAIMER
  • CONTACT ME
You are here: Home / Blogging / How to Add Google Analytics to a WordPress Blog

How to Add Google Analytics to a WordPress Blog

January 1, 2019 By //  by Janet 51 Comments

This post may contain affiliate links. Please read my Disclosure for more info.

Pin
Share
Tweet
how to add google analytics to a wordpress blog pin

Tracking your blog’s performance is essential when you have a blog.  If you don’t have analytics software set up on your blog, you are missing out.  Google Analytics is (hands down) a must have. 

The great news: 
Google Analytics is FREE!

In this post, I’m going to cover how to set up Google Analytics in WordPress and why you need Google Analytics installed on your blog TODAY.

Installing Google Analytics on your WordPress Blog is now easier than ever. 

Why Do I Need Google Analytics Installed on My WordPress Blog?

When you first set up your blog, you really don’t know what is working.  You create some content and wait to see what happens.  Eventually, you start to consider how you can increase your blog traffic and followers. 

But how do you improve without insight into what is working?  You can’t….effectively.  Without insight, you are basically slinging spaghetti to a wall to see if it sticks. 

That is where Google Analytics comes into the picture.  Google Analytics is the go-to for FREE, easy to learn analytics program for bloggers.  This is one of those rare programs where “free” doesn’t mean “basic”.  Here are just a handful of hundreds of insights that you can pull from your Google Analytics account.

Google Analytics  2018 Audience Navigation

Who is visiting your blog?

Google Analytics offers a tremendous amount of insight into who visits your blog. 

For example, you can see the location of your visitors (country, state, city), whether they are a new visitor or a returning visitor, and their technology information (browser and mobile devices).

If you enable the settings, you can even collect their age, gender, and their interests.

These pieces of information can help you make informed decisions.  For example, if you have a blog for several years and learn that most of your visitors are new visitors, you might take steps to increase the “stickiness” of your blog to increase your returning visitors.

Another example:  If you learned that most of your visitors are using a mobile device, you might ask yourself “How can I improve the mobile experience of my blog?”

How do visitors find your blog?

Google Analytics  2018 Acquisition Navigation

Personally, I find that the acquisition section of Google Analytics is my #1 time saver.  This section of Google Analytics will tell you how your visitors are finding your blog. 

Visitors may arrive at your blog through search engines, a social media platform, a referral, or your email marketing.  With Google Analytics, you can determine which of your efforts are successful and which efforts needed fine tuning.

This section is also great for understanding traffic gains.  When you receive an increase in sales or affiliate income, you can use Google Analytics to determine where your increases in traffic occurred.  Maybe it was a result of your SEO efforts or a Pin is getting traction on Pinterest.  You will only know if you have Google Analytics installed on your blog.

What do your visitors DO on your blog?

Google Analytics  2018 Behavior Navigation

This might seem like a silly question, but it can be very helpful information.  Your initial reaction may be “Well, they read, of course!”   In the Behavior section of Google Analytics, you can find out which blog posts your visitors read, which posts they land on the most, and which ones they exit from the most. 

This information can be very helpful in determining what content is a fit for your audience.

The Behavior section also gives you insight into their experience.  How fast or slow was your blog when they visited?  Site speed plays a role in, not only, the visitors experience, but also in search engine optimization rankings.

How to Set Up Google Analytics for a WordPress Blog

I have great news.  “There is a plugin for that!”

There are several WordPress plugins that can assist you with setting up Google Analytics.

Two popular plugins are:

  • Google Analytics for WordPress by MonsterInsights
  • GA Google Analytics

By default, the “Google Analytics for WordPress by MonsterInsights” plugin is installed when you go through the WordPress set up process through Bluehost.  If you are new to Google Analytics and want to quickly view key metrics without learning GA, MonsterInsights may be the plugin for you.  MonsterInsights will pull analytics data into WordPress and will make measuring key metrics easy.

Personally, I use the “GA Google Analytics” plugin. 

  There are two reasons that I use the GA Google Analytics plugin.

  • The GA Google Analytics plugin code is lighter than MonsterInsights. 

The GA Google Analytics plugin only adds the lines of code required by Google.  In contrast, the MonsterInsights plugin adds several more lines of code in order to offer you reporting through WordPress.   Site speed and crawlability are important for SEO.  So, I eliminate unnecessary code when possible (see next item).

  • I am comfortable using the Google Analytics platform.

There is nothing wrong with getting your feet wet by using MonsterInsights.  Once you learn the ins and outs of the Google Analytics platform, you can always switch from the MonsterInsights plugin to the GA Google Analytics plugin later.  The Google Analytics platform is not difficult to learn and there are many FREE resources and tutorials provided by Google for learning how to use GA.  Plus, you can avoid having the extra code on your website altogether.

In the remainder of this article, I have provided the written directions on how to set up Google Analytics for your WordPress blog using the GA Google Analytics plugin.

1. Go to the Google Analytics Landing page

https://analytics.google.com/analytics/web/

2. Set up a Google Account (or log into your existing Google account)

You will need to log into or set up a Google Account in order to access Google Analytics.  If you already have a Gmail account or Google account, you can use that login.  

Fun Fact:  Did you know that you can use a non-Gmail email address to set up a Google account?

Creating a Google Analytics Account - combo

3. Set up a Google Analytics account

Once you are logged into a Google account, you will receive a screen that prompts you to set up your Google Analytics account.  Simply click the “Sign Up” button on the righthand side.

New Google Analytics Account Sign Up

4. Enter the details for your analytics account.

This screen allows you to customize the future of your account. 

The first field (Account Name) is like a group name.  For example: If you manage multiple website that are related to Health & Fitness, you might use “Health & Fitness” as the “Account Name.  You Analytics account can have more than one Account Name (group name).

New Google Analytics Account Details

The name of your website is just as it seems.  So, you may use the name of your domain in this field.

The website URL is also pretty straight forward.  You can simply follow the example they provide.  You will need to enter your website URL (the home page URL).  If you have a SSL certificate installed on your website, make sure you select “HTTPS” rather than “HTTP” from the drop down menu.

The remaining items (Industry and Data Sharing Settings) are optional settings.

Once you have finished with your selections, simply click the “Get Tracking ID” to move to the next step.

5. Highlight & Copy Tracking ID

You have officially created your Google Analytics account.  Now, you will need to add the tracking ID to your website to confirm that you are the owner and to begin tracking traffic data. 

You will need to copy the Tracking ID.  The format of the ID will be UA-XXXXXXXXX-X.  You will need to copy the entire ID, including the “UA”

Google Analytics Tracking ID

6. Download the GA Google Analytics plugin

If you have not already, you will need to download the GA Google Analytics plugin.  Once you have logged into your WordPress account, you will need to navigate to “Add New” plugins page

Add New WordPress Plugin

Once on the “Add New” page, you will need to search for the GA Google Analytics plugin.  Install and Activate the plugin after you have located it through the search tools.

Install and Activate GA Google Analytics Plugin

7. Update settings in the GA Google Analytics plugin

After clicking the “Activate” button for the GA Google Analytics plugin, you will be taken to the “Installed Plugins” page.  In your list of installed plugins, you will need to scroll down to the GA Google Analytics plugin and click the “Settings” link.

Updating Settings for GA Google Analytics Plugin

This will take you to the settings page for the GA Google Analytics plugin.  You will need to (click) expand the “Plugin Settings” section and paste your Tracking ID into the first field.

GA Google Analytics WordPress Plugin Settings

The remaining elements are optional.  For my own websites, I select “Global Site Tag” for the Tracking Method.  This is the new method of tracking. 

For the Tracking Code Location, you have the option of having your Google Analytics code in the header (top of the code) or the footer (bottom of the code).  Google recommends having the code placed in the header. 

Some people will place it in the footer for performance reasons.  The Google Analytics code is in JavaScript and many place it in the footer in case the search engines get tripped up on the JavaScript while crawling the code.  The footer approach also minimizes the code that must be crawled before getting to the content of the page.

Over the years, I have implemented the code in both the footer and header.  I haven’t had issues with either approach.  However, I still select the footer.

Click the “Save Changes” button.    

8. Test

It is important to always test after implementing changes on your blog. To confirm the Google Analytics code is rendering properly on your blog, you can follow these simple steps.

*Your blog must be live for the Google Analytics tracking ID to appear in your code.  If you have a “WordPress Site Coming Soon” landing page, you will need to complete this step once your blog is live.

  1. Open any page on your blog in the Chrome browser.
  2. Click “Ctrl + U” This will open the Source Code
  3. Click “Ctrl + F”  This will open the “Find” feature.
  4. Type in “Google”
  5. Click the Enter button until you find the code that looks like the example below.
  6. Lastly, monitor your Google Analytics account for site traffic.  NOTE: It can take up to 24 hours for your traffic data to appear in your Google Analytics account.
GoogleTag Manager in Code

That’s it……you have officially set up Google Analytics in your WordPress Blog!

These are the essentials that you need for Google Analytics to begin tracking your traffic data. Of course, there are several other customization options within this plugin that can be adjusted as you further develop your blog.

Be sure to check out these related posts for completing your WordPress Blog set up.


How to Install Google Search Console on a WordPress Blog
How to Set Up A WordPress Website on Bluehost
How to Change GoDaddy Nameservers to Bluehost
How to Create a Bluehost Email Address
Why I Fell in Love with the Genesis Framework & How to Install It


Filed Under: Blogging, How To, WordPress Tagged With: Google Analytics, Tools

About Janet

Janet is the creator of The Blogging Shortcut. She focuses on sharing shortcuts to help you market and monetize your blog. She has been creating Search Engine Optimization and Social Media strategies for well-known brands since 2007.

Related Posts

You may be interested in these posts from the same category.
how to start a blog in 4 easy steps feature

How to Start a WordPress Blog on Bluehost

7 things to know in the bluehost control panel feature

7 Things to Know in the Bluehost Control Panel

how to update your godaddy nameservers feature

How to Change Your GoDaddy Nameservers to Bluehost

how to install google search console on a wordpress blog and why you need it feature

How to Install Google Search Console on a WordPress Blog

why i fell in love with the genesis framework and how i installed it on my blog feature

Why I Love the Genesis Framework & How to Install It on Your WordPress Blog

how to create a business email address using bluehost feature

How to Create a New Bluehost Email Address

how to send and receive bluehost email using gmail feature

How to Manage Your Bluehost Email with Gmail

how to set up your email on an iphone feature

How do I set up my Bluehost email address on my iPhone?

how to start a blog in 4 easy steps feature

How to Start a WordPress Blog on Bluehost

7 things to know in the bluehost control panel feature

7 Things to Know in the Bluehost Control Panel

how to update your godaddy nameservers feature

How to Change Your GoDaddy Nameservers to Bluehost

how to install google search console on a wordpress blog and why you need it feature

How to Install Google Search Console on a WordPress Blog

why i fell in love with the genesis framework and how i installed it on my blog feature

Why I Love the Genesis Framework & How to Install It on Your WordPress Blog

how to create a business email address using bluehost feature

How to Create a New Bluehost Email Address

how to send and receive bluehost email using gmail feature

How to Manage Your Bluehost Email with Gmail

how to set up your email on an iphone feature

How do I set up my Bluehost email address on my iPhone?

how to start a blog in 4 easy steps feature

How to Start a WordPress Blog on Bluehost

7 things to know in the bluehost control panel feature

7 Things to Know in the Bluehost Control Panel

how to update your godaddy nameservers feature

How to Change Your GoDaddy Nameservers to Bluehost

Previous Post: «how to set up your email on an iphone feature How do I set up my Bluehost email address on my iPhone?
Next Post: How to Manage Your Bluehost Email with Gmail how to send and receive bluehost email using gmail feature»

Reader Interactions

Comments

  1. נערות ליווי

    April 11, 2023 at 6:38 pm

    I was very pleased to uncover this great site. I need to to thank you for ones time for this fantastic read!! I definitely appreciated every bit of it and I have you bookmarked to look at new information on your blog.

  2. 🎁 Get free iPhone 14 Pro Max: https://seocrafter.ru/uploads/go.php 🎁 hs=fbfa937e4581b78ae7c4327dd200a15f*

    September 23, 2023 at 5:23 am

    kg2a1j

  3. LDaGCMIQk

    November 13, 2023 at 2:30 pm

    ArhFEBGbQeNywL

  4. yApGjUZamrP

    November 20, 2023 at 6:38 pm

    MBESYAlQjVZ

  5. RkzrjmOYTa

    November 29, 2023 at 4:45 am

    jaRGyLcAI

  6. sitemap.xml

    December 31, 2023 at 6:34 am

    Keep onn writing, greast job!

  7. boostaro official website

    January 8, 2024 at 10:22 pm

    It is very comforting to see that others are suffering from the same problem as you, wow!

  8. Wayne Ciotti

    February 8, 2024 at 6:11 pm

    I’ve been surfing online more than 3 hours today,
    yet I never found any interesting article like yours.
    It is pretty worth enough for me. In my view,
    if all website owners and bloggers made good content as you did, the
    internet will be a lot more useful than ever before.

  9. dgbTwtKeWkQDcCEa

    February 9, 2024 at 6:48 pm

    WzkTQlcBKNbo

  10. qQUdymJAvZOV

    March 24, 2024 at 7:29 am

    cMrfsdAOYBtTZHFN

  11. uc satın al

    April 4, 2024 at 10:08 am

    Thank you so much!

  12. boostaro cost

    May 25, 2024 at 4:37 pm

    It is very comforting to see that others are suffering from the same problem as you, wow!

  13. UirSdJvcZgeBQ

    May 30, 2024 at 2:32 pm

    rZkgSFGMKHJlDXL

  14. PCbMmxRTXhZOcq

    June 4, 2024 at 12:55 pm

    pyGwAOIa

  15. quHiLoASIVldgZKF

    June 11, 2024 at 12:07 am

    mVnwtSHeLysU

  16. about

    October 15, 2024 at 2:15 pm

    It is very comforting to see that others are suffering from the same problem as you, wow!

  17. about

    October 15, 2024 at 2:54 pm

    Thank you so much!

  18. about

    October 15, 2024 at 3:52 pm

    It is very comforting to see that others are suffering from the same problem as you, wow!

  19. about

    October 15, 2024 at 9:07 pm

    Thank you so much!

  20. about

    October 16, 2024 at 12:04 am

    Thanks for thr great article!

  21. xxxtubebest.com/xP5tPtGV3bkk

    October 24, 2024 at 11:16 pm

    Liink exchange iis nothjing else however iit is only placing thee other person’s website llink on your page
    at prooer pace aand othewr person will also doo samje in support
    off you.

  22. free-wap-tube.com/movwEI4kCnW21aC

    October 25, 2024 at 11:41 am

    I usedd tto bbe able tto fimd good ifo from yor articles.

  23. hornyxxx.win/hornyvid3565915511

    October 25, 2024 at 11:50 am

    You really make iit appea so easy with your presehtation howevver
    I to find this matter to be really something whic I ferl I
    ould by noo means understand. It sort of feels too complex and verry wide forr me.
    I’m havng a look ahad for ykur next put up, I will try to gett thhe
    hld of it!

  24. drover sointeru

    November 5, 2024 at 4:53 pm

    I’ve recently started a site, the info you provide on this site has helped me tremendously. Thanks for all of your time & work.

  25. Elvin Newill

    November 10, 2024 at 9:54 am

    Thank you, I’ve just been looking for information approximately this subject for a long time and yours is the greatest I’ve found out so far. But, what concerning the bottom line? Are you sure in regards to the supply?

  26. alquiler habitaciones pamplona

    November 14, 2024 at 10:58 pm

    I am not positive the place you are getting your information, but great topic. I needs to spend some time finding out more or understanding more. Thank you for great information I used to be in search of this info for my mission.

  27. xxx bokep

    November 20, 2024 at 4:33 am

    bookmarked!!, I rrally like yiur website!

  28. seo experts us

    December 20, 2024 at 7:37 pm

    Im not certain where you’re getting your info, however good topic. I must spend some time learning much more or understanding more. Thank you for excellent info I used to be on the lookout for this info for my mission.

  29. web design cardiff

    December 26, 2024 at 3:16 am

    F*ckin¦ awesome issues here. I am very glad to peer your article. Thank you a lot and i am taking a look ahead to touch you. Will you kindly drop me a mail?

  30. vorbelutr ioperbir

    December 31, 2024 at 7:06 am

    Very well written story. It will be valuable to everyone who employess it, including yours truly :). Keep doing what you are doing – can’r wait to read more posts.

  31. xvideos

    January 5, 2025 at 10:33 am

    Hello There. I foun yur blog using msn. This is
    a rewally welol written article. I’ll be ure tto bookmaark it and come back tto read mre
    of your usefuul information. Thanks for thee post.

    I’ll defijitely comeback.

  32. missav xxx

    January 6, 2025 at 1:36 am

    Hi every one, here evefy peson iis sharing such knowledge, therefore it’s good to
    rdad this weblog, andd I used too vsit tjis website everyday.

  33. droversointeru

    January 6, 2025 at 3:05 am

    You need to participate in a contest for probably the greatest blogs on the web. I will recommend this website!

  34. sohuxxx

    January 7, 2025 at 12:49 pm

    Greetings! Veery elpful advice in this particular article!
    It iis thee lottle chanes that make thhe most
    significant changes. Thanks foor sharing!

  35. xnxx

    January 17, 2025 at 12:13 pm

    Hi there! Thiss iis my 1st commenbt hrre sso I just wanted
    too ive a quick shout ouut and tell you I trly enjoy reading through
    your articles. Caan you suggest anny other blogs/websites/forums that
    cover tthe saame topics? Thank yoou so much!

  36. xxxproud.com

    February 1, 2025 at 10:59 am

    I tthink thiis is onee of the most important informaation ffor me.

    And i am glad reafing your article. Buut wannna remark on feew geneeral things, Thhe sikte stylee is ideal,
    thee atticles is realy excellent : D. Goodd job, cheers

  37. xxxxvideos.cc

    February 1, 2025 at 7:19 pm

    For hottest news youu have too pay a vusit world-wide-web and on web I found tthis
    web site as a bext webb site for most recent updates.

  38. xnxxtube.win

    February 4, 2025 at 2:49 am

    Whhen someone writss aan piece of writing he/she keeps the idea of a user iin his/her brain that howw a user
    ccan be awre of it. So that’s whyy this piece oof wrting iis great.

    Thanks!

  39. Buffstream

    February 11, 2025 at 9:21 am

    Your style is so unique compared to many other people. Thank you for publishing when you have the opportunity,Guess I will just make this bookmarked.2

  40. NBA live streaming HD

    February 11, 2025 at 10:55 am

    Keep functioning ,impressive job!

  41. Live Soccer Streams

    February 11, 2025 at 12:17 pm

    I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Outstanding work!

  42. javsutra.com

    February 12, 2025 at 7:59 pm

    Yes! Finally someonne writes about 00034.

  43. 1xbet yeni giriş

    February 13, 2025 at 11:08 am

    Hi there, I found your web site via Google while searching for a related topic, your web site came up, it looks good. I have bookmarked it in my google bookmarks.

  44. xxx

    February 19, 2025 at 9:32 am

    I couldn’t refrai frrom commenting. Perfectly written!

  45. Pier Houston

    February 22, 2025 at 1:54 pm

    I like this post, enjoyed this one thankyou for posting.

  46. 🔩 Email; Process NoKB80. GET >>> https://graph.org/GET-BITCOIN-TRANSFER-02-23-2?hs=fbfa937e4581b78ae7c4327dd200a15f& 🔩

    March 2, 2025 at 3:43 am

    ibcwuh

  47. drover sointeru

    April 11, 2025 at 4:02 am

    I’m impressed, I have to say. Actually hardly ever do I encounter a blog that’s both educative and entertaining, and let me tell you, you might have hit the nail on the head. Your thought is outstanding; the problem is one thing that not enough individuals are speaking intelligently about. I’m very joyful that I stumbled throughout this in my seek for something referring to this.

  48. zoritoler imol

    April 24, 2025 at 11:52 am

    Hi there, I discovered your website by the use of Google even as searching for a comparable subject, your site came up, it seems great. I’ve bookmarked it in my google bookmarks.

  49. 🔈 + 1.92718 BTC.GET - https://graph.org/Message--17856-03-25?hs=fbfa937e4581b78ae7c4327dd200a15f& 🔈

    April 24, 2025 at 11:23 pm

    6mnfir

  50. zoritoler imol

    May 10, 2025 at 5:54 am

    Unquestionably believe that which you said. Your favorite reason appeared to be on the internet the easiest thing to be aware of. I say to you, I certainly get annoyed while people think about worries that they just don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people could take a signal. Will probably be back to get more. Thanks

  51. * * * Win Free Cash Instantly: https://bgtconsultinggroup.com/index.php?rehst7 * * * hs=fbfa937e4581b78ae7c4327dd200a15f* ххх*

    May 12, 2025 at 7:56 am

    ve5u7x

Leave a Reply

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

Primary Sidebar

janet blade
HELLO!
My name is Janet and I'm the creator of THE BLOGGING SHORTCUT.
Since 2007, I've been geeking out over marketing and monetizing websites.
This blog is dedicated to sharing the shortcuts that I've learned along the way.
  • HOME
  • PRIVACY POLICY
  • TERMS AND CONDITIONS
  • AFFILIATE DISCLAIMER
  • DISCLAIMER
  • CONTACT ME

Copyright © 2025 · The Blogging Shortcut, all rights reserved.