Did you ever wonder how some people in this world always seem to know all the details on who their client are, and how popular their website or online marketing effort has been? Well having a Google Analytics tracking code installed on your website is the way to go. Google Analytics is a really great tool from Google to know exactly what’s going on.
Knowing your numbers in your business or venture is critical. Knowing what your people like and don’t like on your site, could allow you or your business win that group of perfect clients that you have been aiming for. Business or Projects that succeed, know what is going on and are quick to take action. Hope you are starting to see the importance of Google Analytics. Let’s dive in and get you setup.
Google Analytics Step by Step Setup Guide
This is in two sections. Signing up for Google Analytics and then adding the Google Analytics tracking code to your website. The second part might very, it all depends on what type of website you are using. I highly recommend WordPress Self-hosted version. Please note, I am taking it that this is your first time using Google Analytics. Apologies to those of you that use Analytics a lot.
Signing up with Google Analytics
Next, Google will give you their Terms & Conditions pop up window. Here is what to do.
After that, you will be forwarded to a new page with the tracking code on it. It will look like the below code. Copy your Google Analytics tracking code to a safe place we are going to need it later.
ga(‘create’, ‘UA-94104831-1’, ‘auto’);
The above code is just an example.
That basically finishes the first step. While some you have a Google Analytics Property up and running, there is more you can setup. We will cover that in another section. What’s more important is to add this Google Analytics tracking code to your website so that you can start tracking your numbers.
Installing Google Analytics Tracking Code into WordPress Theme.
There are many ways we can add the Analytics tracking code. Some are safer and easier than others.
Your Tracking code needs to be in the code of your website that loads before the page that you and I see. What’s more, it needs to be on every page. With WordPress, it is easier than others but at least you know where we are going to put this code.
Now some of you have a Premium WordPress Theme and you can simply add this code into your theme options. This varies from theme to theme.
If all else fails, here is a harder method.
Please note, if you do not see the header.PHP, then you might be using a child-theme. In this case, you just need to ask your hosting provider to copy your header.php into your child theme, so you can see it. Your hosting provider should know what to do.
This should complete everything. Check back in a day or two and see if there is data showing in your Google Analytics.
Simple way to check and test
You can log into your Google Analytics and click on Real-Time on the right. Then click on overview.
Go to your website in a new tab, then check if you can see some on your website. If you see something then it’s working. WELL DONE.
Google Analytics Tracking Code Conclusion
Well done! If you have completed all the steps as described above, then you should start getting some information in Google Analytics within 24 hours.
If all the above has confused you or you just don’t have the time, I totally understand. You can just order a gig on Fiver and I will assist you and to just get this setup for you.
Allow me to complete the above by simply ordering my services:
So what are the Next Steps?
Next, I would highly recommend setting up Google Seach Console. This will allow you to get informed if Google picks up an issue with your website, like it’s running too slow or even hacked.