Building Tracking URLs for Google Analytics

This tactic is not really new. In fact, it’s quite old by Internet and SEO standards (being a couple years now). Nevertheless, I see the problem of bad data flowing into Google analytics with enough regularity that I think this deserves some review.

Don’t Blindly Trust your Data

Too often, webmasters and even Internet marketers put too much trust into the data that their Google Analytics accounts are reporting; especially if they see traffic increasing.

For example, I recently ran across an account that looked like it just exploded with additional visits and revenue from organic sources.

From every angle I was looking at, it simply looked like everything was working the way it should. Organic traffic was up, PPC was up, even direct traffic and referral traffic was looking great.

However, it was just too good to let it go without investigation. It wasn’t until I looked at the PPC accounts that I noticed anything was wrong. The PPC account was turned on the very same day that the traffic started to spike. In fact, the traffic graphs were pretty much identical, showing a strong correlation between the PPC being turned on and the traffic we saw coming in.

It was clear that something was off. WAY off. But was it Google’s fault? Not really. Turns out their PPC wasn’t being associated with their account, effectively skewing the organic results.

Now we get to the fun part, where I fixed the problem. In order to make sure that the traffic was pure coming into Google analytics, I changed all of the URLs in their PPC account to tracking URLs, using Google’s URL builder. Let’s look at how we build these URL’s.

Google Analytics and Tracking URLs

The good news is that this is a really automatic process, and only requires a few bits of information (once you get the hang of it, you may not even need to use the builder). You’ll need to input the following information:

  • Website URL – Input your desired landing page URL
  • Campaign Source – Type in where your visits will be coming from. If it’s going to be Yahoo’s PPC, then type in Yahoo.
  • Campaign Medium – Here you want to the medium that is sending the traffic to your site. If it’s a banner ad, then type in “banner”. If it’s cost per click advertising with Bing or Yahoo (or even Google), then type in “cpc”.
  • Campaign Name – Type a name that will help you distinguish the traffic from other campaigns and stay organized.

The other two options, Campaign Term and Campaign Content will allow you to distinguish a keyword you want associated with the particular landing page and the content of the ad used.

Results

Once I fixed the URLs and inputted them into the PPC campaign, the Analytics data seemed to return to normal. Note how the traffic drastically changed once the change was made:

Other Applications

Sometimes, when I share this awesome URL builder with others, they think it’s just for PPC purposes. It’s actaully robust enough to handle just about any marketing effort. Here are some common uses:

  • Banner Ads
  • Newsletters
  • Email Marketing
  • PDF Files and Brochures
  • Sponsored listings (not paid links!)
  • Social Media campaigns (such as twitter tweets)

If you have any other ideas on how to use this nifty, sometimes underrated tool, leave a comment.

18 Simple SEO Items Commonly Missed in Web Development

Web Development SEO TipsOne of the things we constantly have to do as SEO experts is give recommendations to companies on how they need to change their site so that they can be better optimized.

The sad thing is that a lot of the things we recommend should have been done during the Web development phase the first time around.

No matter how much the SEO world tries to get the information out there, a lot of Web developers don’t understand the basic concepts of SEO. This in turn leads to sites being developed that an SEO team will later have to tear apart and fix.

So whether you’re designing a new site in-house, using some kind of template site-building system, or hiring an outside firm, here are 18 things that you’ll want to make sure are in place before you launch your site. It will keep us SEO guys from giving your site an overhaul later. By following these guidelines you’ll have a much more search engine friendly web design from the beginning.

1- Perform Keyword Research Before Developing the Site

SEO starts with keywords. And if you’re planning to market your site in the search engines, you should know what keywords you want to rank for before you even start building the site. Make sure this is done FIRST.

Here are some other posts that talk about how to properly do keyword research:

2- Put Non-www to www Redirects in Place

It amazes me how many sites load with and without the www in the URL. The problem with this is that it creates an automatic duplicate of your site, and can waste a lot of link value as people link to both versions. Decide which version of your URLs you want to use, then 301 redirect everything else to the preferred version.

3- Use a Static, Keyword Based URL Structure

Dynamic URLs can cause a lot of problems if not handled right. So rather than going through all of the headache that they cause us SEO-types, just set your site up with good URL rewrites so that you don’t have dynamic URLs in the first place.

More posts about URLs:

4- Have Unique URLs for Each Product/Service

Even if a product or service can be found multiple ways on the site, make sure that there is only one unique URL for each product or service your company offers. This helps to eliminate unnecessary duplicate content problems.

5- Include Redirect Capabilities

You never know when you’re going to want to take a page down and redirect it to something else. The mistake a lot of sites make is that they just take a page down when they don’t need it any more. When this happens you lose the link value that page may have gained while it was live. So do yourself a favor: make sure you can 301 redirect that old page to a new page that can use the juice.

6- Create a Custom 404 Page

Having a custom 404 page makes it so that if someone lands on a 404 page, they at least know they’ve reached the right site. Without a custom 404 in place, they may just assume the site is down and move on to your competitor’s site.

Here is an example of a custom 404 page:

Custom 404

7- Include Keyword-Rich Alt Attributes

Alt attributes are very easy to overlook. But if you use them the right they can be another signal to the search engines to tell them what a page is about. One quick tip on this one: don’t abuse this attribute by using a keyword phrase on every single bullet point image or stuffing a bunch of keywords into the attribute.

8- Make Room for Sufficient Content

Sometimes designers and developers get carried away with the look and feel of the page and forget to include room for text-based content. That’s what the search engines read, so you have to make sure there is a logical place for that content. Ideally, plan on having at least 150-200 words of optimized content on any page you want to rank well.

You should also make sure that your content is structured right. Have one H1 tag at the top of the main content, and then break out other sub topics with H2-H6 tags as appropriate. Make sure to use your keywords in these headings and in the content, but once again don’t overdo it.

9- Set Up Internal Linking Structure

I think that internal linking is one of the most commonly overlooked things for most sites. In fact, Ken Lyons wrote a great post about it that goes into more detail than I can in this post: Want More Link Juice? Here’s an Easy Way to Get It

10- Decide on a Consistent Title Structure

A site should use the same title structure throughout the site. Pick your convention and stick with it. A good format to follow is to have a phrase that includes main keywords for the page and describes what the page is about, followed by a separator (- or | are common), and then your brand name. For example, “Professional SEO Services for Organic Website Optimization | SEO.com”. Keep these titles to under 65-70 characters so they don’t get truncated in the search results.

11- Include Meta Descriptions on Every Page

Since most of the search engines can choose to use your meta description as your snippet in the search results, you should have a unique one written for every page. Include the main keywords and a call to action to encourage clicks. DON’T just make this tag a list of keywords.

12- Allow Inclusion for Other Meta Tags (canonical, robots, etc.)

If you’re using any kind of tracking codes or other things on your site that create duplicate URLs, you’re going to want to be able to include a canonical tag on those pages. Also, depending on how your site is built you may need to include other meta tags like a robots tag and others. Make sure your site’s back end allows for this when necessary.

13- Incorporate Social Media Sharing Buttons

In case you missed it, social media is a pretty big thing right now. I’m not a big fan of the generic ShareThis button, but you need to have some kind of social media sharing buttons on your products and other important pages. Do some research to decide which social networks are best for your site and then stick with those.

More general information about social media:

14- Install Analytics Tracking

If you don’t have any kind of analytics tracking installed, you have no way to tell where you traffic is coming from, what’s working, and lots of other crucial information. Pick a solution and get it installed. Popular ones include:

Make sure that the software you go with will allow you to block your office IP address, track conversions, ecommerce revenues generated through different online sources, and anything else that will help you to understand what is actually affecting your bottom line.

15- Set up and Verify Webmaster Tools Account

Through Google Webmaster Tools you can find out a lot about how Google sees your site, and can give them indications on how to handle certain parameters, submit your XML sitemap, and be notified of problems they find with your site. Bing’s Webmaster Center is coming along, so it’s worth it to go ahead and verify that one as well.

16- Follow Web Standards for HTML, CSS, and Database Programming

The more you follow standards, the easier it will be for someone else to come along later and make changes or modify the site. It’s a real problem when a site’s backend code or database is so complex that it has to be rebuilt later in order for it to be changed.

17- Generate an XML Sitemap

It only takes a few minutes to do it, but once the site is live make sure you create and XML sitemap and submit it to the major search engines through their webmaster tools accounts. It’s even better if you can set this up so that it automatically updates and pings the search engines whenever a change is made.

18- Create a Robots.txt File

When you create your robots.txt file make sure that you are disallowing any pages or directories that you don’t want the search engines crawling. Standard examples would be login pages, search results pages, and shopping cart pages. You should also include a link to your XML sitemap as well. Also, make sure you test this file in your Google Webmaster Tools account to make sure it is working correctly.

Here’s a great site that talks more in detail about how to create a robots.txt file: About /robots.txt

If you follow these 18 guidelines you’ll launch a site that is in great shape as far as SEO is concerned. If you’re an SEO, feel free to add anything else to this list in the comments.

Discrepancies In Webmaster Tools Clickthrough Data

This is a follow up post from my post yesterday about click-through data in Webmaster Tools. After comparing some analytic data and reading numerous tweets and blog posts about the matter, it is obvious that there are discrepancies in the click-through data that is being shown in the Webmaster Tools interface in comparison to Google Analytic data and website logs.

inaccurate webmaster tools clickthrough data

Tom Critchlow from Distilled wrote an excellent post about this yesterday that you can read here: New Google Webmaster Tools Keyphrase Data Is 70% Useless

My take on this subject is as follows: This is a brand new tool released by Google a few days ago. There is obviously a discrepancy when the data is compared, but Google is not one to just sit around and take criticism. If they want this to be a valuable resource for webmasters, they will improve the tool so that analytic data and Webmaster Tools data matches. SEOs, including myself would really like this tool to provide a valuable metric that we can measure over time and use for further website optimization.