31: How To Setup Google Analytics Using Divi
In today’s episode, we try something a little different. We walk you through the steps to setup google analytics using wordpress & divi.
Find the accompanying video over on YouTube
We can’t wait to hear your thoughts on this episode.
Before we go any further, we want to talk about the elephant in the room. That’s sponsorships, its ads, right, we all spend our time we make this content for you. And I want to keep this as short and sweet as possible. But also in the sponsorships, I want to make sure that it’s something that may bring value to you. So here on the Divi Addicts podcast, we’re creators, we’re showing you how to expand on WordPress and Divi and we’re talking about different features. But there’s also the content creation side of things and we use Anchor to build and publish this podcast.
So if you’re not familiar with Anchor, it’s a free app, you can sign up either @ Anchor.fm or you can download the app and it’s completely free. It’s got a full creation suite, you can you can literally create your podcast and put it out to the world from your phone. And it’s going to distribute it everywhere you need it to be Spotify, Apple podcasts, Pocket Cast, Stitcher, you name it, it goes there. And you can also make money from your podcasts with no minimum listenership. I mean, literally, you can have one person who listens. And you can have sponsorships and read ads just like this, you know, do do your readings. But it’s everything you need to make your podcast all in one spot is with you in your pocket on the go. So download the free Anchor app or go to Anchor.fm to get started today. Now let’s jump back into the podcast.
Hey, what’s up everybody is Keegan Lanier coming at you with Keegan Lanier Media. And today we’re going to show you how to do is how to set up the very basics of Google Analytics and your Divi and WordPress back end. What this is going to allow you to do is to be able to track the path of visitors that are coming to your website, where they start, where they end up, and which pages they’re on whenever they decide to go somewhere else. It’s really, really cool stuff that Google gives you a lot of power and a lot of visibility into seeing. Not only that, but as you start to dig through Google Analytics, you’re going to see that they show you referrals, and they show you sources where you’re getting acquisitions to your site from, you know which pages people are landing on the first time.
So you can see, you know where those articles are at, and if they’re bringing traffic to your site, if you’re creating content. So what we’re looking at here is the back end of the Google analytics platform in December of 2018. That’s when this video was shot and this is the current layout for what Google is giving you today. So it’s very easy to get this code. All you have to do is when you get into the dashboard, here is the first thing you’ll see when you log in, you’re going to go down here to the admin section. And when the admin section loads up, these are your accounts and these are the properties within your account.
Now I’ve gone ahead and set up just this test. It’s a dummy code. I’ve set this up just to show you how to set this into your website and how to get the code from Google Analytics. First thing you want to do here is click on tracking info. And then we’re looking for this tracking code. And when you click on tracking code, it drops in this extra information. And it gives you your global site tag, this little bit of code right here that’s already selected, you’ll want to copy. Copy it from here. And that’s really it with Google Analytics. I mean, that’s all you have to do because you created a property. We’ve done these basics, we’re going to link to a basic Google Analytics account set up, we just wanted to show you how to take the code that’s here from the properties you already have and drop them into your WordPress website specifically using Divi.
So the next thing you want to do now that we’ve got the code is we want to jump into WordPress, and we’re here in our WordPress demo zone. And we’ve already got Divi set up. As you can see here, where you want to put the code is under Theme Options, you click Theme Options, the back end of Divi is going to open up and there’s a few tabs across the top that you want to select the right one, we’re going to go over here to integrations, click integrations. And this is the section we’re looking for right here. Add code to the head of your blog. And the reason it goes here is this going to put it in the header file, the header.php, which is going to make sure it loads on every single page on your site. This is really critical so that Google can know where people are landing what path they’re taking from page to page. And when they’re falling off, they need to know what page they’re actually on. So we’re going to take the code that we’ve already copied, and we’re going to paste it into here. So now we’ve got the Google Tag code, the information that Google has set up. And once we hit save, Google will now be getting the info for anybody who comes to the site.
It’s pretty easy. It’s very, very simple. And this will give you all kinds of analytics to know exactly what’s happened on your site where people are going, more importantly, where they’re coming from. I hope this has really been insightful to you. Hope it helps just a little bit. We’ll catch you in the next video. We hope you have a Merry Christmas and we’ll see you in 2019.