Google Analytics is a free service that provides site owners with detailed information of how visitors interact with their site. It provides useful data on measures such as the number of people visiting, their country of origin, the pages viewed, average time spent on the site, whether the visitor is new to the site or returning and much more.
In this post I will show you how to set up a Google Analytics account and how easy the process is of adding Google Analytics code to your Genesis Theme.
If you already have an Analytics account and just want to know how to add the Analytics code to your Genesis Theme, then click here to jump straight to that section.
How to Set Up Google Analytics
Log in to Google Analytics and click on the following sign up button.
Next you need to complete the following form. I have explained each point below the screenshot.
1. Select “Website”.
2. Select either “Universal Analytics” or “Classic Analytics”.
I personally use “Universal Analytics”. Here are a couple of quotes from Google that influenced my decision to use this version:
“Our goal is to enable Universal Analytics for all Google Analytics properties. Soon all Google Analytics updates and new features will be built on top of the Universal Analytics infrastructure. To make sure all properties upgrade, Classic Analytics properties that don’t initiate a transfer will be auto-transferred to Universal Analytics in the coming months.”
Read full post here.
“All Google Analytics properties will soon be required to use Universal Analytics. Any properties that don’t follow the upgrade process will be auto-transferred to Universal Analytics in the future.”
Read full post here.
3. Give your account a name and enter the details of your site.
4. Use the dropdown to select a category that relates to your site.
5. Use the dropdown and select your time zone.
6. Select or deselect your data sharing settings preferences.
7. Click “Get Tracking ID” after which a “Google Analytics Terms of Service Agreement” will pop up which you will have to accept to proceed. Once accepted you will be taken to your “Traffic Code” page which contains your Google Analytics tracking ID and tracking code as shown below.
Where to Add Google Analytics Code in a Genesis Theme
Log in to your WordPress dashboard. Select “Genesis” >>> “Theme Settings” and scroll down to “Header and Footer Scripts” then copy and paste your Google Analytics Tracking code into the box shown below. Now save your settings and that’s it done.
After completing the above you can check the status of your tracking by going back to your “Traffic Code” page, shown earlier in this post, and refresh the page to view the tracking status.
If you have closed the page here’s how to access it:
Log back in to your Analytics account and click on “Admin” in the top right corner, you will then see the screen shown below. Click on “Tracking Info” and select “Traffic Code”.
If you are seeing the message “Status: Tracking Not Installed”, I would advise you to wait a while and see what happens.
When I set up my first Analytics account, after 12 hours I was still seeing the message “Status: Tracking Not Installed”. I contacted the StudioPress helpdesk and asked what I had done wrong. They checked my site and confirmed I had installed the Analytics code correctly, so I waited.
I would say it took around 36 hours for it to sort itself out. In fact, as far as I remember, I think I started to receive data even though Analytics was still showing “Status: Tracking Not Installed”.
You may not experience the same delay as I did. I have read of some instances where people have installed their tracking code and within minutes Google Analytics has detected it, however it’s useful for you to be made aware that there may be a delay.
One other point I need to mention is, if Google Analytics does quickly detect your websites tracking code, it could still take some time before you start seeing any data for your site. Google say that generally Analytics is updated every 24 hours, so you could be waiting at least this long before your Analytics account starts to show any data.