WordPress Tutorials

In this tutorial I will show you how to activate and install Google Analytics on your website.  This will be a step-by-step guide for WordPress beginners.  Please let us know if this tutorial has helped you or if you have any questions or comments!

See more in our series on Google Analytics:

Michael Holding

1. Sign Up!

Google makes it simple for you to understand your site’s traffic.  If you go to analytics.google.com and follow the sign up steps you will be on your way.  Let’s take a look at those steps now.

2. Fill out those fields

Start by filling out an account name, this can be anything you want but it’s a great idea to keep it relevant.  Next, enter your website’s name and url.  Select your industry from the drop down menu, then set your time zone.


3. Set your Data Sharing Settings


Google recommends that your keep all of the options checked, and so do we.

Now click on the Get Tracking ID button at the bottom of the page.


4. Terms of Service

Make sure that the correct country has been selected before you accept the Terms of Service Agreement.  Different restrictions are in place in other countries and may cause you trouble if you select something other than your region of residence.  Once you’ve read through the terms, click the I Accept button.

5. Copy the code

You will be taken to the Admin section in Google Analytics for the site you have just registered.  Under your Tracking ID you will see the Website Tracking text box with some code in it.  Highlight and copy this code.  We will be pasting this code into our website.  Keep the tab open until you’ve finished.

5. Adding the code to your site

If you are using the DIVI theme click on the Theme Options and go to the Integration tab.  Once there you will find a text box to add code to.  Paste your tracking code and save your changes.

If you are using another theme in Word Press you can insert the code into the Header (header.php) and place the Google Analytics code before the closing </head> tag.   You could also use an Insert Headers and Footers plugin as they do in this WPBeginners video.  We also recommend using the Google Analyticator plugin for Word Press which will help display all your data in an easily understandable way.

You’ve done it!  It will take anywhere from 12 to 24 hours before your start receiving any information, so be patient and have a cup of tea or go for a walk in the sunshine.

Pin It on Pinterest