How to Add Google Analytics 4 to Divi Website?

Team DiviFlash

Updated: August 28, 2023
Table of Contents

Universal Analytics is transitioning to Google Analytics 4 to better understand website visitor behavior. These improvements include various reporting features and deeper insights into visitor interactions. 

Most importantly, we are just moments away from the end of Universal Analytics data collection. The final date is set for 1st July 2023. 

So, you must set up Google Analytics 4 on Divi websites. And, fuel your successful marketing campaigns with essential data.

Our pleasure always lies in giving all important updates for Divi websites.

So, we have crafted an easy step-by-step guide on how to add Google Analytics 4 to Divi website. We also touch on the importance of this upgraded version.

How to Create a Google Analytics 4 Account?

We will start with creating a Google Analytics 4 account. 

Step 1: Google Analytics is a free platform. You need to sign up with a Gmail Account. If you don’t have one, you must create a Gmail account. And it’s free!

Once you have one, you can start browsing to Google Analytics website (analytics.google.com). You will land a website that will look similar to the image below.

Getting Started with Google Analytics 4

Click the “Get Started Today” button. This should take you to the following “Welcome” screen:

Click Start Measuring Button

From here, you will navigate to the account creation page followed by the “Start Measuring” button.

Start Creating Google Analytics 4 Account

Step 2: This page has a mandatory account name box to fill in. But you are free to give any name as it will appear on your dashboard only. 

Then, there are settings to control your website’s data sharing with Google Analytics. We recommend keeping them unchanged. And hit the “Next” button.

Create Google Analytics 4 Property

Step 3: Up next, you will have the property creation settings. You must provide a property name here. Then, choose your time zone and currency from the dropdown. All done, click the “Next” button.

Provide Few Details On Business

Step 4: Next, you will be asked to provide some business information. This includes the industry category of your business and the number of employees. Add them and hit “Next” to continue.

Choose Business Objectives for Google Analytics 4

Step 5: In the next option, Google Analytics will provide some options to determine your using objectives. For instance, if you want to increase the number of sales then you choose “Drive online sales”. This tool will report on Ecommerce purchases, Promotions, and User purchase journey.

You can select one or more types as per your preferences. And, when things are done for you click the “Create” button.

Step 6: However, before the last step, a popup will appear with the Google Analytics Terms of Service Agreement.

And, the universal truth is we have to accept it. So, check the “I also accept the Data Processing Terms as required by GDPR” and then click the “I Accept” button.

Accepting Terms and Conditions

You should see a popup with a list of email-type suggestions. Check the box next to the preferred email type you want to receive. And, hit the “Save” button to continue.

Selecting Purposes For Email Communications
Pick Data Collection Source

Step 7: When the Data Streams section opens, you need to define a data source between a website and an app. For this tutorial, our data source will be a  website.

Set Up Your Data Stream Account

As we click on it, we need to enter the website URL and Stream name. And finally, click on the “Create Stream” button. 

When the data stream section opens, you need to define the source of data between a website and an app.

The next screen should show you all the stream details like Stream ID and Measurement ID.

Details Of Your Created Stream

Your Google Analytics 4 account is complete. That means you are ready for the next step.

How to Add Google Analytics 4 to Divi Website?

Manual Installation Of Google Analytics 4

Step 1: A popup window will also open, displaying an “Installation Instruction“. There will be two installation methods. However, if you don’t see this popup, click “View Tag Instructions” on your web stream’s details screen. 

Follow the manual installation to integrate Google Analytics for your Divi website. You just need to copy the code and paste it into your Divi theme options settings area.

Adding Integration Tag To Divi Settings

Step 2: Navigate to: WordPress Dashboard > Divi > Theme Options > Integration and paste the code snippet into the “Add code to the < head > of your blog” box. Finally, click “Save Changes”.

How to Verify Google Analytics Collecting Data From Divi Websites?

Verifying Google Analytics 4 Integration With Divi

Once you are done with the integration process. You can verify that it is working properly. For this, go to Google Analytics dashboard and follow: Google Analytics > Reports > Realtime > Overview.

Now, visit some pages of your Divi website in other tabs. Then, come back to the “Realtime Overview”. If it shows all the update statistics then your connection is successful.

NB: Google Analytics may take about 30 minutes to connect to your Divi website. Or, if you don’t see any updates you can try refreshing the Google Analytics page.

So, you know how to set up Google Analytics 4 on the Divi website. And, many benefits await you when you upgrade to a newer version of Google Analytics.

Why Should You Upgrade to Google Analytics 4 For Divi Websites?

You can go even deeper with the new event-based data model. It reports a specific interaction on your website. For example, you can have a full demonstration of an event that makes a conversion. The best part is, an event gives you full tracking including when a user loads a page, interacts with other links, completes a purchase, etc.

Data Filtering System

Google Analytics 4 is configured with first-party cookies to filter unique users. As a result, you can run ad campaigns without violating data regulations. Further, you can easily deal with any user data removal requests.

Valuable Future Insights

Google Analytics 4 lets you design your marketing plan with AI-powered insights. You can predict your user’s future behavior and interests. It is integrated with powerful machine learning technology to predict trends and opportunities. It shows metrics like purchase probability, churn probability, predicted revenue, etc.  

Data Protection

Get clean and uninterrupted data to make your marketing campaigns. Google Analytics 4 has introduced a secret key to protect spammy traffics. Hence, there will be no spammy visits from any dubious devices.

Wrapping UP!

We have shared the easiest method on how to add Google Analytics 4 to Divi websites. You should integrate this Analytics tool as soon as possible. And, if there is any issue with adding or upgrading this version. Let us know in the comment below.

Team DiviFlash

At DiviFlash, we are more than just a team – we are a collective of Dev Experts, Word Artists, Design Virtuosos, and Marketing Maestros, all united by our profound expertise in Divi and WordPress. Our mission is to provide you with accurate, insightful, and in-depth content aimed at enriching your understanding of Divi, WordPress, and the art of web design.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

DiviFlash 1.4.7 is Here

DiviFlash 1.4.7 is Here