WordPress Wednesday Tip 24: How to Add Google Analytics to WordPress Without a Plugin
Reading Time: 3 minutes
One of the most important – and dare we say, fun – parts of launching your WordPress website is keeping track of your site’s performance. Site visits, unique visitors, bounce rate, and other important Key Performance Indicators (KPIs) can be easily tracked by adding Google Analytics onto your WordPress site.
While there are several different ways to do this, this week, we’re going to show your Divi users a really simple method that doesn’t require the use of a plugin which can slow your site’s performance!
Let’s get started.
WordPress Wednesday: How to Add Google Analytics to WordPress Without a Plugin
2. Click on the Admin Icon.
3. Click on ‘Tracking Info’ under ‘Property’.
4. Click on ‘Tracking Code’.
5. Copy the ‘Website tracking’ code onto your clipboard.
6. In a separate tab, log into your website.
7. Hover over ‘Divi’ and click ‘Theme Options’.
8. In the ‘Theme Options’ page, click the ‘Integration’ tab.
9. Paste the code you copied from Google Analytics into the ‘Add code to the <body> (good for tracking codes such as Google Analytics) box and click ‘Save Changes’.
10. Return to Google Analytics and click the ‘Send Test Traffic’ button. A new window will open & take you to the client’s website. Click on a few pages. If the tracking code is working, the Google Analytics will show ‘x active users right now (including 1 from test traffic)’.
So there you have it. You now know how to add Google Analytics to WordPress without using a plugin (or having to add code into your core WordPress files).
Find this Easy-To-Follow WordPress Wednesday Tip Helpful?
Show some love and share it with your followers!
And, since you’re here, check out some of our other WordPress Wednesday Tips!