All Collections
FAQ's and Troubleshooting
How to set up Google Analytics in Divi
How to set up Google Analytics in Divi

How to integrate Google Analytics with Divi

Andrei N avatar
Written by Andrei N
Updated over a week ago

How to Create a Google Analytics 4 Account

  1. Open analytics.google.com and click Start Measuring

    Google Analytics first step
  2. Add your account name and click "Next".

  3. Add the Property name, select the country and click "Next".

  4. Select the Business details and click "Next".

  5. Choose the Business Objectives and click "Create".

  6. Confirm the Google Analytics Terms of Service Agreement.

  7. On the next page, select "Web" app:

    Google Analytics web app

  8. Add your website URL and Stream name and click "Create Stream"

  9. The next window means that the Google Analytics account was created successfully. Click on "Install Manually" button:

    Install manually Google Analytics

  10. Copy the code that was generated:

    Code code from Google Analytics

How to Create a Google Analytics code to Divi

Add the copied code to Divi > Theme Options > Integrations > Head section and save the changes:

The Data Collection can take up to 48 hours.

To see the data and verify that Google Analytics is working, open this page https://analytics.google.com/analytics/web. If the website was visited, the visits will be shown on the right side:

Google Analytics page visits

Did this answer your question?