Today's article consist of a guide about Divi Google analytics integration.
No matter what's the niche of your website or the market you're targeting whether you're an individual running a simple blog, a local small business, or even a corporate one, you'll definitely need to keep track of the performance of your website on search engines such as Google.
Adding google analytics to your Divi website will help you do that and even more and the process has become easier than before since the WordPress CMS is launched.
so, if you just have finished designing and creating a WordPress website and looking to correctly set up and connect Google analytics on your website. then you're in the right place because we're going to discuss some points about that as well as walk you through exactly how to add Google analytics.
In addition to that, there will be a small bonus tip in the end of this article, so without wasting time …
Get ready and Let's do it!
What's Google Analytics?
Before we go straight to the actionable part of this tutorial, for those who don't know what Google analytics is or didn't hear about it. Google Analytics is one of the most popular web analytics tools provided by Google at no cost to help you keep track of what's going on on your website.
After a few weeks of connecting it to your website, it starts to show a large amount of really useful data about you're the audience, how they're engaging with your website, what pages they visit the most a lot more, which will help you put know your traffic and know exactly what interests your audience in fact put more efforts on improving your website's content.
All these features and more totally for FREE. isn't cool!
Why Add Google Analytics?
Google Analytics is being used by over 50 million websites worldwide and that's of course for a simple reason being the powerful capabilities and features it offers considering that it doesn't cost you a penny.
There are a lot of benefits to having Google analytics integrated with your website and here are some of them:
Know where to put your efforts: which very important because if you don't understand what interests your audience and what topics they like you can't grow your traffic and attract more visitors from search engines that are interested in your content.
Track website performance accurately: this digital marketing tool lets you know where you're ranking in Google and even the exact queries users are typing into Google in order to find your content. it's the most accurate when it comes to collecting data from Google.
Helps with paid ads: since the tool is provided by Google itself, it does have integration with the other products such as Google ads which will allow you to target and find your ideal visitors or customers in case you would like to run paid ads.
How to Google analytics to Divi Website (2 Ways)
Now that we have seen the effectiveness of Google analytics and what it actually can do, in the upcoming steps, we're going to learn how we can connect it with your Divi website and start enjoying the features.
When it comes to WordPress, there are two roads we can take:
- the first one is to set up an account and manually connecting it to the site using the Google Analytics code.
- The second one is to go ahead and install a plugin that would make things even easier for you.
Now, you might ask me: which one of the integration works the best?
Well, it really depends but as far as I am concerned integrating google analytics using a piece of code is the best simply because I am I usually try to reduce the number of installed WordPress plugins to keep the website loading fast. which is becoming a more and more important aspect when it comes to user experience.
But if you get scared of dealing with code (even I there is only one piece of code in this tutorial) and you don't have a lot of the plugins added then that's cool you're welcome to use the plugin it does the same.
Creating a Google analytics account
Regardless of which one of the 2 ways you'll use, we'll start by creating a Google account to make the process as simple as we can. To follow the rest of our Divi Google analytics integration guide, you must have a Gmail account so if you don't have one ready yet go ahead and create one.
Here are the steps to create a Google analytics account:
1 – Open you're Gmail account then Go to Google Analytics official website.
2 – click “Start measuring” button
3 – Enter “Account Name” I usually use my name or the client name in this field.
4 – The list you see are some advanced options, we'll leave them as they're for now and click “Next”
5 – For the property settings you basically fill in the following information:
- property name: put in your website name so you can easily distinguish each property if you decide to add more later on.
- The time zone: depends on the country and city you're living in.
6 – Next, some basic business information, fill them based on your website and business.
7 – On the left bottom corner click “Create”
8 – A box will pop up requesting you to read and accept Google analytics terms of service. put a checkmark and click “I accept”.
9 – That's it! we have created a Google account and we're ready to connect it to our website.
Let's continue to the actual Divi Google analytics integration
Manually Adding Google Analytics Code to Divi
Here we are in the first method of connecting Google Analytics with Divi Theme, as we have mentioned earlier we've going to do it manually then show you how to do the same using a plugin.
So, to manually add Google analytics code to Divi Theme follow these simples steps:
1 – Login into your Google Analytics account and head over to the admin section under property click “Data streams”.
2 – From the three options available choose “Web” in order to connect it with your website.
3 – From the window, fill in your website, and for the stream name put in your website name to distinguish and move between the website very easily in case you added a lot of them in the same account. in the bottom left corner click “Create stream”
4 – The property is now added successfully, scroll down to the Tagging Instructions section and copy the Google tracking code by clicking on the “Copy” icon in the corner of the box.
5 – Login in to your WordPress admin dashboard.
6 – From the left-hand side menu Go to Divi > Theme options
7 – From the horizontal menu click on “integration” and make sure the “Enable Body code” is turned on.
8 – Scroll down a little bit until you see the custom code box and paste the google analytics piece of code you have copied. (as shown below)
9 – that's all what we have to do, now scroll up and click “Save Changes” button just above the theme panel.
Divi Google Analytics using A plugin
What if you don't want to deal with any codes and you prefer adding a plugin instead, that's totally possible as well and there are a lot of premium plugins that can easily be integrated such as Exact metrics and Monster insights.
But if you're just starting out you won't have enough budget to cover such expensive tools with professional features therefore, we're going to stick to another good alternative that is totally FREE to use which is called the Google site kit provided by Google company.
Here are the steps to follow to Divi Google analytics integration using a plugin:
1 – From your WordPress dashboard hover over “Plugins” then click “Add New”
2 – Search for “Site Kit By Google” plugin, install it then activate it.
3 – You'll be taken to the step wizard of the plugin as you can see below so, all you have to do is to click “Start Setup”.
Then it will take you to Gmail, once you log in it automatically pulls all the properties you created in Google analytics.
Choose the suitable one and click continue and authorize and Booom! You just did, You connected your Google account to your Divi site.
By that, we came to the end of our Divi Google analytics integration, Before we close this I would like to add a small bonus to what we have mentioned.
A Bonus Tip
Okay! You just started your website and there is not a lot of visits to your website how can you know if your site is growing taking into consideration that the piece of code you just added is sending the data to Google analytics. it's counting all the visits. WHAT?! do you mean it's counting mine as well?
Google Analytics will count your visits as well which means the data that will be shown will not be correct 100% consequently, you won't know if there is some traffic on your except if the numbers are pretty high which means there is definitely traffic or by taking a look at the countries report.
But don't worry because the bonus of the Divi Google analytics Guide we have done today is to exclude yourself from being counted simply by adding a filter that excludes your IP address and all the IP addresses of each member if you're working as a team.
Let's find out how.
1 – Go to this website whatsmyip.org and You will see your IP address as shown below
2 – Inside your Google analytics account on the very bottom left corner, click admin.
3 – From the admin, choose “All filters”
4 – Click “+ Add Filters” button
5 – Fill in the information as seen below:
Filter name: name it anything you want to help you remember what it's about.
Filter type: Predefined
Select the other options exactly as it's displayed below and of course, in the IP address put in the IP address, you want to skip from the calculation.
- Remove Divi logo from Navigation Header
- How to Hide & Remove Divi Footer
- Divi Logo: Change size, Customization Guide & [Expert Tips]
- Divi Favicon: How to Add it & What to know
This is our Guide of Divi Google analytics set up.
Having Google Analytics on your website is crucial and considered an important element when it comes to building a clear picture and keep track of your site's performance. Besides, being able to run successful marketing campaigns.
If you don't have Google analytics or any other analytics tools on the market you're missing a lot, Go ahead and add it to your website to start collecting a gold mine of very very helpful information.
If you have any additional questions feel free to drop them in the comment section below, Otherwise, do let me know what do you think about Google analytics tool ? do you use it ? If YES then how it has helped you so far?