To grow your business, you need to know precisely how many and who are visiting your site. And that’s where Divi Google Analytics comes in.

If you’re using Divi, you’re already in a good place. It offers support for third-party analytics solutions, including Google Analytics.

Google Analytics is a free-to-use analytics tool for businesses. It lets you track visitors on your site and create reports to understand your audience better. It supports various platforms and devices, giving you a complete picture and tools to improve your marketing ROI.

In this post, we’ll go through the Divi Google Analytics Guide, covering the importance of Google Analytics and how you can enable it on your Divi site. Our approach doesn’t require any third-party solution, as we list a step-to-step guide on how to do it. Moreover, the guide also works on any WordPress site or theme. Let’s get started.

5 Reasons Why You Need To Use Google Analytics to Divi Website

Google Analytics opens the door to knowing your audience. To know precisely how it helps your business, let’s list five reasons you need it.

Learn how people find your business

Google Analytics lets you know from where people are accessing your site. Its “Acquisition” dedicated section informs you of the origin of the traffic. For example, you can learn how much organic traffic is. In addition, it also lets you know about direct visitors, visits from social media, and even referrals. Lastly, you can also figure out the demographic of your audience, including their countries.

Track what people are looking for on your site

The Google Analytics Behavior section lets you find what visitors are looking at on your site. This includes the links they open, pages they visit, and other aspects of your site, such as file downloads.

This information lets you know which part of your site is performing well and where you need to make changes to improve traction.

Create customized reports to gain insights

Here, you can also create customized reports. To do so, you need to click on customization and then select Reports. The custom reports let you add custom data and generate insights usually unclear from raw captured data.

Automated data collection and free to use

Once you activate Google Analytics on your site, you don’t have to do anything else. It works automatically to grab any visitor’s data. 

Moreover, it is free, and you don’t have to pay anything to use it!

Use Data to create relevant content.

As you know which pages or content are performing, you can use it to create relevant content for your audience.

Get insights into conversions and sales figures.

For eCommerce site owners using Divi, Google analytics enable them to gain sales insights, including conversions and sales figures. 

How to add Google Analytics to the Divi site

As a Divi site owner, you can use one of the two ways to add Google Analytics to your site. The first option is to follow a manual process of adding it. This can take some time and effort. Another option is simply using a third-party plugin to add the Google Analytics tracking code to your Divi site.

Divi’s feature-rich approach ensures you don’t rely on a third-party plugin. Instead, it offers an easy yet effective way to add Google Analytics code from the Theme Options area.

The first step is to generate a Google Analytics tracking code. Once generated, you can add it to your site.

Step 1. Get a Google Analytics account

If you don’t have a Google Analytics account, you need to create one. To do so, go to Google Analytics Homepage. Once there, click on “Get started today” to start the sign-up process. It’ll open up a new page where you can Create a new Google account or log in to your existing account.


Once you log in, it’ll redirect you to the Google Analytics page, where you need to click on “Start measuring.”


It’ll open up an account setup process where you need to enter your Account name and also set “Account Data Sharing Settings.”

For this tutorial, we can set the Account name as “Demo Analytics Account.” Then, under Account Data Settings, you don’t have to change anything. All you need to do is make sure that the “Benchmarking,” “Technical Support,” and “Account specialists” options are ticked ON.


Click on Next to proceed.

Step 2: Set up Google Property

Now, it’ll ask you to set property details. By property details, Google wants to know about the site for which you want to generate the Google Analytics code. Here, enter the Property name, and select Reporting time zone and Currency.

You can also opt to “Show advanced property.” and opt-in to create a Universal Analytics property.


We suggest not enabling “Universal Analytics property.” Apart from that, set everything based on your preference.

Step 3: Enter Business Details

Finally, click on Next to enter your business information.


Here, you need to enter the Industry category, your Business size, and why you need to use Google Analytics for your business. Then, you can select all that apply.

Finally, Click on “Create” to complete the process. Before the process completes, it’ll ask you to accept Google Analytics Terms of Service.


Tick the option “I also accept the Data Processing Terms as required by GDPR” and click “I Accept.”

Step 4: Set Up Data Stream 

It’ll then redirect you to the Analytics Home page, which will offer you a tour to understand the platform. At the time of writing the tutorial, they are offering their newly updated interface, Google Analytics 4.


With the Google Analytics dashboard open, click on “Web” to start generating the Google Analytics code for your Divi site.

Here, you need to enter the Website URL and Stream Name. You can also enable “Enhanced measurement,” which offers access to more data. It is already turned ON by default. If not, turn it ON.


Click on “Create Stream.” 

Step 5: Get access to Google site tag and Measurement ID

Now, you’ll get your Measurement ID, the Google Analytics Code you need.


Further down, you’ll find the “View tag Instructions.”


Click on it, and you’ll find it opens another window where you need to click on “Install manually” to reveal the code.


As you can see, the code contains the Google Analytics Code.

Step 6: Add the Google Site tag to your Divi-powered site

With the Google site tag copied, open up your Divi site dashboard. Now, go to Divi and then Theme Options. There, you’ll find the Integration tab.

Open it up and add the Google Tracking Code similar to that of Google Analytics. Next, copy-paste the code and click on “Save Changes.”

Step 7: Test The Connection

You must test the connection to ensure you successfully completed the process.

To do so, go to your Google Analytics Dashboard. From there, go to the Reports section and see live statistics, including real-time data.

Final Thoughts on Divi Google Analytics

Congratulations, you have successfully set up Google Analytics on your site. As you can notice, it included a few steps. Once you are done, you need to leave Google Analytics alone, as it offers an automated process for collecting data.

So, what do you think about the process? Did you find it easy? Comment below and let us know.