How to install Google Analytics on your WordPress website in 3 easy steps

Google Analytics is perhaps not the absolute best out there, but hey, you get what you pay for. That said, Google Tag Manager, however, is friggin awesome!

Google Analytics is perhaps not the absolute best out there, but hey, you get what you pay for. That said, Google Tag Manager, however, is friggin awesome!

The reason you have to create a property is because you might have a main website, a store, a blog, a product mini-website, and so on, which can all be separately monitored in Google Analytics, but grouped under the same account.

The Tracking Code

The GA tracking code is what you're supposed to copy and paste. But today we will only need the tracking ID.
The GA tracking code is what you’re supposed to copy and paste. But today we will only need the tracking ID.

After creating the account, you will be shown your tracking code. That’s a piece of code that you’re supposed to copy-paste into your website’s code.

You have to copy and paste your tracking code into your website

But Shay is here to make it all easier, so let’s put a pin into the GA tracking code for a sec, only copy the tracking ID, and go on.

2. Creating a Google Tag Manager account

GTM is a neat tool from Google that will help you install different tags (pieces of code) onto your website, without needing to touch actual code, or change your website’s code.

Just log into your Google Tag Manager and create a new account there as well.

After creating the account, click on theĀ New Tag button to get started.

Click on the New Tag button to get started.
Click on the New Tag button to get started.

After clicking anywhere in the white space of the Tag Configuration area, you’ll see a list of services that you can insert into your website using one single GTM account, but today we are only interested in the Universal Google Analytics tag, so let’s click on that.

Not very intuitive as an interface, just click on the white space under Tag Configuration and choose Universal Analytics.
Not very intuitive as an interface, just click on the white space under Tag Configuration and choose Universal Analytics.

Author: Shay Stibelman

Digital marketing consultant in Milan, Italy. Born in Israel, raised in Germany by Russian parents.

2 thoughts on “How to install Google Analytics on your WordPress website in 3 easy steps”

Leave a Reply