Skip to main content
How to Add Google Analytics to Divi

How to create and integrate the Google Analytics tracking code into Divi.

Updated over a week ago

Google Analytics helps you to track how visitors interact with your Divi website, offering in-depth analysis of various aspects such as the amount of time a visitor spends visiting your website, what pages are most visited, and much more.

Create Google Analytics tracking code

  1. Log in to your analytics.google.com account

  2. Click the Start Measuring button

    Google Analytics first step

  3. Set your account name (it can be anything you want)

    Google Analytics - Create a new Account

  4. Click the Next button

  5. Set the Property name (use an easy-to-identify name)

  6. Select your Country and Currency

  7. Click the Next button

    Google Analytics - Property details

  8. Choose the Industry Category and Business Size

  9. Click the Next button

    Gogole Analytics - Business details

  10. Choose the Business Objectives and click the Create button

  11. Accept the Google Analytics Terms of Service Agreement

  12. On the next page, select Web

    Google Analytics web app

  13. Fill out the Website URL and the Strem Name fields

  14. Click the Create Stream button

  15. Click on the View Tag Instructions option

    Get the Google Analytics Code

  16. Copy the Code under the Install Manually tab

    Copy the Google Analytics code

Note: This will copy the entire Code on your clipboard.

Add the Google Analytics code to Divi

  1. Log in to your WordPress website

  2. Go to Divi β†’ Theme Options β†’ Integration tab

  3. Paste the Google Analytics code to the Header field

    Divi - Integration Tab

Notes:

Did this answer your question?