There are too many Google Analytics Plugins for WordPress. If you’re using the Divi Theme, you can install Analytics without a plugin.
Add Google Analytics to the Divi Theme by pasting the code in <head> section of the Integration Page (navigate to Divi > Theme Options > Integration). The Analytics code will automatically be added to every page of your website and should start tracking immediately.
For detailed steps and help with troubleshooting, keep reading this post.
How To Install Google Analytics On Divi Without A Plugin
This process includes quick instructions on setting up a new Google Analytics Account. If you’re working with existing property and just need to know where to add the code, skip ahead to Step 7.

Add Google Analytics To Divi
What If You Already Have Analytics Set Up
If you already have a Google Analytics account and are setting up a new account for a new site, follow these steps. Head to the Google Analytics Admin, Click Create Account (in the top left), and follow the steps above starting at step 3.

If you already have an existing Google Analytics Property and are moving the code on an existing site, go to Admin > Property > Tracking Info > Tracking Code. Copy this code and continue at Step 7 Above.
How To Check If Google Analytics Is Working
Now that you’ve added the code to the website, you can use the Realtime Reports in Google Analytics to see actual visitors on your site.
Inside Google Analytics, use the left navigation and click Realtime > Overview. Now open your website in a new window, and you should see a “hit” come across the page. If you click into the more detailed Realtime reports, such as location or content, you should be able to see your location and the page your viewing.

What If Google Analytics Isn’t Tracking
While the list of potential reasons that Google Analytics isn’t working correctly is quite long, with a straight-forward setup – as we have by manually adding the tracking code to the Divi Theme, it’s likely one of the following issues.
You have a caching plugin enabled: Simple fix, clear your cache. Each caching plugin handles things differently, but most have a button in the settings to manually clear your cache.
You have a cookie blocking plugin: If you’re using a tracking code blocking software, such as Ghostery – you’re blocking Google Analytics from tracking your interactions with the website. Try using another browser, or disabling the plugin.
Your IP Address Is Filtered: While IP Filters are recommended to keep your data clean if you set up the account using the instructions above – they wouldn’t have been added yet. So hopefully this isn’t the issue.
You Missed A Step In The Setup: Double check you clicked “Save,” you copied the full code from Google Analytics, and that you pasted the code into the <head> section of your site.
What’s Next
With Google Analytics on your Divi website, the next step is to set up tracking and start collecting valuable data. I recommend implementing event tracking to track key engagements and conversions on your website. And of course goal tracking will help you better understand the quality of your traffic on the conversion points of your site. Let me know if I missed anything, and if you have any questions. Thank you!