Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 15, 2013 04:00 pm GMT

How to Install Google Analytics on WordPress


preview-Install-Google-Analytics-on-Wordpress

Have you heard about all the powerful insights Google Analytics can churn out for your business? (Here are just 3 Google Analytics insights you can learn about your business.)

If you havent heard about Google Analytics, its an amazing, free tool you can use to track everything related to your website visitor data – from how many, to where theyre coming from, to what theyre doing on your website (and whats making them leave!).

If you have heard of Google Analytics and its powerful insights, you know that installing it on your site is a must do item.

If you’re a WordPress user, I have a secret for you: installing Google Analytics on your WordPress site involves very little code. We can install Google Analytics easily. Sound good? Lets get to it.

1. Sign Up for a Google Analytics Account

Step 1

If you dont already have one, head on over to Google Analytics and grab yourself an account. Its totally free! Already have a Gmail, YouTube, Google Apps for Business or other Google-related email address for your business? You can use that to sign up.

install-google-analytics-on-wordpress-home

Step 2

Once youve created a new Google account or signed in with your existing Google account, Google Analytics will ask you to sign up.

install-google-analytics-on-wordpress-signup

Step 3

On the next screen, make sure you keep the Web Site button pressed, as installing the tracking code for an App is a bit of a different animal.

install-google-analytics-on-wordpress-track

Step 4

Next up, were choosing a tracking method. Go ahead and keep the Classic Analytics selected. (Universal Analytics is currently in beta and isnt quite fully functional just yet.)

install-google-analytics-on-wordpress-check

Step 5

Now heres the part where we start to tell Google Analytics a little more about the website were trying to track:

install-google-analytics-on-wordpress-web-property

Whats this about a property versus an account? Google does explain what they are in the screenshot above, but the diagram below gives more insight into the structure of property versus account:

Image Source: https://equatorlive.com/blog/2013/03/19/google-analytics-user-permissions

Image Source: EquatorLive

The account you have is tied to the email address you signed up with. Under the account, were setting up your website as property. You can have multiple properties associated with one account. Under that, you use profiles to filter your data in different ways for one web property/website.

You can give multiple users access to your account or to your profiles (if say, you wanted to outsource the data tracking piece of your business or get some help configuring conversion tracking and other more advanced Google Analytics capabilities).

So back to the setup:

  • Website Name: this is simply that – your website name. A lot of people just type in the URL of the website here for naming purposes.
  • Website URL: enter the URL of the site youre going to track.
  • Industry Category: this helps Google learn more about how different industries are using Google Analytics and potentially serve up more relevant information for you. Select the industry that best matches this website.
  • Reporting Time Zone: Pay attention to this one! You cannot change this later. This will determine where your day starts and ends in Google Analytics for counting visitors & everything else.
  • Account Name: If you have just one business and only ever plan on having one business, this can be the same name as your main website name. Think business name = account name, whereas website names = property names. If your needs are simple enough, these are often the same.
  • Data Sharing: this is your option – do you want to share your traffic data with Google? These are selected by default.

Hit the blue Get Tracking ID button and Google will give you a pop-up to accept those terms and conditions. Pay attention to these – among the terms includes disclosing to visitors that youre using tracking cookies on your website.

Now you’re finally ready to install the Google Analytics tracking code on your WordPress site.

2. Installing the Google Analytics Tracking Code on Your WordPress Website

Step 1

Once you hit the blue Get Tracking ID button and agree to the Terms and Conditions of Service, youll see your Tracking ID displayed on this complicated page:

install-google-analytics-on-wordpress-tracking-id

Note that your Tracking ID will be a different number than displayed in this screenshot, but since youre a WordPress user – you dont have to worry about anything other than that UA- number at the top!

Step 2

Let me introduce you to my favorite WordPress plugin ever, the Joost Google Analytics plugin for WordPress.

install-google-analytics-on-wordpress-download

There are a lot of Google Analytics plugins out there, but this one is my favorite because not only does it install Google Analytics in the recommended section of your site (in the header) but it also comes with easy to configure options for a more advanced setup (if and when you need it).

Step 3

Lets walk through how to install the Google Analytics for WordPress plugin. Once signed in to your WordPress dashboard, head to Plugins > Add New.

install-google-analytics-on-wordpress-plugins

Step 4

Search for Google Analytics for WordPress. Hit the details link under the plugin description to verify that its the one developed by Joost de Valk (look for his name as the author in the blue box on the right).

install-google-analytics-on-wordpress-description

Step 5

Hit the red Install Now button above the blue box. Once installed, hit Activate.

Note that in the screenshot above it says Latest Version Installed where your Install Now button will be because I already have this setup on my site.

Step 6

Now we just have to link up your Google Analytics account with this plugin to start tracking your website visitor data. Head to Settings > Google Analytics in your Dashboard. Enter that UA- tracking ID in the plugins settings:

install-google-analytics-on-wordpress-configuration

Then hit the blue Save Google Analytics Settings button and youre all set!

3. Block Your Internal Traffic from Showing Up in Google Analytics

Follow this optional section if you need to block internal traffic from showing up in Google Analytics..

Ever worry about work on your website, whether its content updates, new pages, or a redesign could be messing with your traffic data? You can actually apply a filter in Google Analytics to block that traffic out – but Joosts plugin eliminates the need for creating anything custom and makes it easy to block your internal traffic.

Step 1

Simply make sure Show Advanced Settings is checked in the first gray box then scroll down to Advanced Settings:

install-google-analytics-on-wordpress-advanced

Step 2

Select Administrator from the drop down menu for which type of users to ignore. Once you hit save, this will keep any internal traffic from messing with your Google Analytics data.

4. Ensuring Data Accuracy: What to Watch Out For

The Google Analytics for WordPress plugin makes installing Google Analytics on WordPress a super-simple process. However, there are a few things about your WordPress site that might make your data a little wonky if left unchecked.

There is one scenario that will mess this up: you already have Google Analytics setup on your site, just not with this plugin. What to do about it?

Step 1

Check that you dont already have another Google Analytics plugin installed. Head to Plugins > Installed Plugins and check for any that are already doing this for you. Make sure to uninstall those before or right after you install Joosts plugin.

Check to make sure your UA- code isnt already added somewhere in your themes settings. Check your Theme Options under Appearance or other setting areas where your theme lets you add code to your header.

Why cant you just use the default Google Analytics settings offered by your theme? Because often they dont install it correctly (in your websites header) but almost more importantly, your theme doesnt even come close to making it as easy as the Joost plugin does to make extra configurations to your Google Analytics tracking without having to actually edit the code. (like blocking your internal traffic, tracking outbound clicks, cross-domain tracking and more).

5. Analytics Visitor Data Check

The final step of installing Google Analytics on your WordPress site is to make sure Google Analytics is actually receiving your website visitor data.

Step 1

Log into your Google Analytics account and head to your reporting screen. See any traffic data? (keep in mind Google Analytics can take up to 24 hours to start counting visits).

Another place to check: Head to Admin and select the web property (website) youre trying to setup tracking for. Youll see a status similar to this one if the tracking code isnt setup properly:

install-google-analytics-on-wordpress-status

Of course, remember to make sure to wait 24 hours before getting concerned that your code might not be setup right.

When its working, youll see a green checkmark to indicate Google Analytics is receiving data. Once you have that green checkmark, youre all setup! Fairly simple, right?

Over to You

Do you have Google Analytics installed on your site? Do you have a WordPress site? Have you used the Google Analytics for WordPress plugin in the past? Did you find it easy to use? Did you find this Google Analytics installation guide for WordPress helpful? Let me know in the comments!


Original Link: http://feedproxy.google.com/~r/FreelanceSwitch/~3/qLzv76ShYaw/

Share this article:    Share on Facebook
View Full Article

Freelance Switch

FreelanceSwitch is a community of expert freelancers from around the world.

More About this Source Visit Freelance Switch