Check & Set Up Google Analytics using a WordPress Plugin

by | Sep 17, 2022

๐ŸŽฏ Whatโ€™s the goal?
To install the Google Analytics tag to your website
โš ๏ธ Why does it matter?
Google Analytics will allow you to get a deeper understanding of your customers. Itโ€™s the most popular tool to measure and analyze all the data related to your website traffic and visitor.
๐Ÿ Whatโ€™s the result?
Google Analytics tag is properly installed on your website and is firing on all pages.
โŒš When do you do this?
Ideally, as soon as you put your website online, only once.
โœ… Any special requirements?
This process only applies to WordPress sites.
๐Ÿ™‹โ€โ™‚๏ธWho should do it?
Owner of the website or the person in charge of analytics.

๐Ÿ‘‰ Where this is done: In your WordPress Admin Panel and Google Analytics
โณ How long will this take? about 10 minutes

Letโ€™s get started, in 10 minutes youโ€™ll be ready to measure your audience.

Environment setup:

  • We recommend that you use the Google Chrome browser to navigate the web,
  • Administrator Access to your WordPress Blog,
  • A Google Account (Gmail, G-Suite).

What is Google Analytics?

Google Analytics is a web analytics service offered by Google that tracks and measures website traffic and allows you to visualize reports in a very legible way.

Create a Google Analytics Account

  • Click on โ€œSet up for freeโ€ and on the next page, you will start creating your account.
  • Start by creating your โ€œProperty Nameโ€(1), choosing โ€œReporting time zoneโ€(2) and โ€œCurrencyโ€(3), then click on โ€œNextโ€.
  • Select the โ€œIndustry categoryโ€ of your business.
  • Set your โ€œBusiness sizeโ€ and select โ€œHow do you intend to use Google Analytics with your businessโ€.
  • Press โ€œCreateโ€.
  • Accept all the required Google agreements.
  • Choose โ€œWebโ€.
  • Enter your website URL (1), name your stream name (2), then click on โ€œCreate streamโ€.

Check if you should choose HTTP:// or HTTPS://

Enter your website URL in your internet browser, then click just on the left side of the URL Address Bar and check if it is secured or not. In some cases, there will be a red padlock (not secure) or a green one (secure).

If it is secured choose https:// if not – http://

If your website is not HTTPS we highly recommend you make the switch ASAP as itโ€™s an important SEO Ranking Factory, weโ€™ll soon release an SOP to explain how to get a free SSL certificate (to move your site to HTTPS) using Cloudflare.

  • Now you should see your Google Analytics โ€œAdminโ€ Area. Here you can see your Google Analytics โ€œMeasurement IDโ€(1). There is also a tracking code(2) that you will use to collect data from your website.

Set Up Google Analytics using WordPress Plug-In

Installing โ€œHeader Footer Code Managerโ€ Plug-In

  • Log in to your WordPress Admin Area:
    (Eg: yourblogdomain.com/wp-admin or yourblogdomain.com/wp-login.php
  • On the left side menu, click on โ€œPluginsโ€ and then โ€œAdd Newโ€.
  • In the search engine at the upper right side of the page search for: โ€œheader footer code managerโ€.
  • You should now find the plug-in below by 99robots, once you find it, click โ€œInstall Nowโ€. 
  • Wait while it is installed.
  • And then click on โ€œActivateโ€.
  • Now you should see โ€œHFCMโ€ appear on your Menu. Click on it.
  • Now press on โ€œAdd Newโ€.
  • Now name the New Snippet (for example โ€œGoogle Analyticsโ€) (1), and then set โ€œLocationโ€ to โ€œHeaderโ€ (2). Then leave this tab open while you get the Google Analytics code in another tab.
  • Now go back to your Google Analytics โ€œAdminโ€ Panel
    (Open it in a new tab of the Internet browser) and click on โ€œData Streamsโ€.
  • Expand the โ€œGlobal site tagโ€ area.
  • There you should see your Google Analytics Tracking Code.
  • Simply Copy It.
  • Then go back to the โ€œAdd New Snippetโ€ window and paste the code at the bottom.
  • Click on โ€œSaveโ€.
  • Again, click on โ€œHFCMโ€ on your WordPress Menu.
  • Here you can see all of your Snippets. You should see that the Snippet you just added is turned ON (if not click on the โ€œON/OFFโ€ slider).

Check if Google Analytics is running correctly

  • First, go to your website and leave it open in one tab of your browser.
  • In another tab open the Google Analytics website.
  • In Google Analytics go to โ€œReportsโ€.
  • If everything is set right, you should see at least one active user right now (it is you)

This is it! You just finished setting up Google Analytics on your website
and now you can track and measure traffic from your website!

Check & Set Up Google Analytics using a WordPress Plugin

๐ŸŽฏ Whatโ€™s the goal?To install the Google Analytics tag to your website โš ๏ธ Why does it matter?Google Analytics will allow you to get a deeper understanding of your customers. Itโ€™s the most popular tool to measure and analyze all the data related to your website traffic and visitor. ๐Ÿ Whatโ€™s the result?Google Analytics tag is […]
You May also Like: