It’s really important to add Google Analytics to your WordPress site. Why? Because that way you can monitor the activity on your website. You’ll be able to see how people found your website (through a Google search, or through social media links), where in the world your visitors live, how many people visit your site every day and every month. It’s really powerful. As a result of this data, you’ll also be able to see which sections of your site are being visited the most and which sections aren’t getting too many views. This is really insightful knowledge to have as you’ll be better informed as what content to write more of and what content you should be promoting more.

Adding Google Analytics to your site is really easy.

Firstly, go to the Google Analytics website and either sign in for an account, or, if you have a Gmail account already, simply sign in.

Once you’ve done that you should see a screen that looks similar to this.

Now you need to create a new account. Click o

n ‘Admin’ in the top right corner. And then select the ‘+ New Account’ button.

 

Fill out the details accordingly. In the section where it asks you “Website’s URL”, select “http://” and then type in your URL starting with the “www” bit.

Like this…

See I told you this was really easy =)

 

Once you’ve signed up to their user agreement, submit your form. You’ll then be directed to a page like this.

 

Scroll all the way down, till you see a bit that looks like this. This is the code you’re going to need to copy and paste into your WordPress blog. Copy and paste this into a text editor. Click “OK”. And you can then close this page.

Now it’s time to go into your WordPress CMS. Go to your site and add “/wp-admin” to the end of it. So like this: “www.justtrustme.org.uk/wp-admin”. Sign in with your user name and details.

Once you’re in, click on “Appearance” in the left-hand side-bar. Then click on “Editor”.

Now look for something on the right-hand side-bar that says this:

 

 

Click on it. You’ll now see some code. Don’t be afraid. You’re not going to be expected to change anything. All you’re going to do is look for “</body>” and then copy and paste the Google Analytics code before that. “Do I have a screengrab to share with you?” I hear you ask. Yes. Yes I do.

Right. One of two things will now happen. Either, you’ll have the ability to click on a blue button that says “Update file” or you’ll have what says “You need to make this file writable before you can save your changes.”

IF you have the blue button, congrats, you’re done!

IF you have the file writable bit, you have to do one more thing.

Open up Filezilla. Click the icon in the top left-hand corner to connect. It looks like this remember: 

Once you’re all connected, in the “Remote site” section of Filezila, double-click on the blue file that says “wp-content”. Then double-click on the blue file that says “themes”, then double-click on the blue file that has the same name as your theme. Once you’re in there, you’ll see a file called “footer.php”. Got it? Great.

Now, single-click on this file so that is highlights itself in blue. Holding down the “ctrl” button on your keyboard, single-click on it again. It’ll bring up a drop-down menu. Click on the option “File permissions”.

 

It’ll bring up a mini-screen. What you need to do, is make sure that all the boxes are ticked like in the screengrab below.

Press “OK”. Then go back to your WordPress back-end. Hit refresh. You may have to re-copy and paste your Google Analytics code. But this time round, you’ll have the blue “Update file” available to click.

Well done, you’re officially finished now too.

With Google Analytics now installed, you’ll be able to log into your Google Analytics account, and have all that data about your website at your fingertips.

pic credit of thumbnail: http://www.stockfreeimages.com/