The following How to guide covers adding a WordPress website to an existing Google Analytics account.
Once the website has been added to Google Analytics, we add the GA Google Analytics plugin to the WordPress site. There are other ways for WordPress to interact with Google Analytics, but I chose the GA Google Analytics plugin because it has a Cookiebot add on to simplify GDPR compliance (That’s for another post). GDPR is the EU General Data Protection Regulation framework.
That said, let’s continue…
Step by step instructions
Setting up Google Analytics
1; Search for Google Analytics in a web browser or
2; Browse to https://analytics.google.com/analytics/web
It’ll present a page with a choose account option that may present your google account if you have one, as well as options to use another account.
3; Click the Admin icon (the gear icon at the bottom left of the page).
4; Click create new property.
5; Choose Web, and click the continue button.
6; Type in a Website Name, a Website URL, and choose an Industry and Category as well as a Timezone to suit, then click the Create button.
If you return to the Admin page by clicking the gear icon at the bottom left of the page and then clicking the drop
7; Copy the Tracking ID for the new website by selecting the “Tracking Code” link.
Setting up GA Google Analytics
8; Login to WordPress admin for the required site. Select “Plugins>Add New” and search for “google analytics”
9; We’re going to use the GA Google Analytics plugin because it’s simple to set up and make GDPR compliant (no
Select “Plugins>Add New and then click on the “Install Now” button in the “GA Google Analytics” box.
10; Select “Plugins>Installed Plugins” and click on the activate link for GA Google Analytics. Once it’s activated click on the settings link as shown below.
11; Browse to “Settings>Google Analytics” and paste or type in the tracking code from the google analytics website, select Force SSL and then scroll to the bottom of the page and click Save. We’re using the default setting for the tracking method
12; After 24 to 48 hours statistical data should start appearing on the Google Analytics website and you can log in to check it’s all working.
Checking with the Google Analytics Mobile App
13; If you have Google Analytics installed on your phone, you can check the new site shows up there. The screenshots below were taken from an Android phone but Google Analytics is available for iOS on the App Store.
Select the three bars at the top left of the Home page.
14; Select all Web Site Data. It doesn’t matter which website is shown there, it will take you to the “Select View” page.
15; From the “Select View” page, select “All” and choose the website you just set up.
16; At this point, you’ll be getting some basic data from google analytics. You can get a free ebook about it from here.
To cut a long story short, a summary.
To summarize the above, if you have an existing google analytics account, log in, create a new property for the website, copy the tracking ID and paste it into whatever google analytics plugin you decide to use. Within 24 to 48 hours you can either use a browser to return to the google analytics site to check the statistics or use an app from your phone.
If you’re a network engineer and you could use an IPv4 subnet calculator check out the free techiedoodah IPv4 excel subnet calculator spreadsheet and if you get a lot of time hands on rackside and need a tray to put your laptop on, let us know what you think of the Portable Rack Mount Laptop Tray and sign up if you want one. Type with two hands instead of one, be more comfortable, improve your productivity and get out of the server room sooner, (or wherever the rack happens to be).
Techiedoodah blogs are created in the hope that they can help others by giving real
Comments below for the article “Adding a WordPress Website to Google Analytics”.