I’m not blogging to get traffic; I’m blogging because I have something to say. But, being a curious person, I do measure my blog traffic, and I’ve become interested in how the search engine optimization gurus ply their trade. So a recent tip on using a custom Google Analytics filter to determine “front page” placement on that search engine piqued my curiosity.
After just one week of monitoring, the results speak for themselves: Google’s first page of results accounts for more than two thirds of my web site traffic, and less than a quarter of my visits come from a source other than Google! It should come as no surprise that the search giant’s first page has come to dominate Internet traffic, but it was amazing for me to see it demonstrated so graphically using data from my own blog.
Since the first of the year, I’ve noticed that my traffic has been up by about 50%, too. I was puzzled, since the uptick comes across all topics and posts. My friend Louis Gray suggests that Google might be responsible for this as well: Google updated their Page Rank results, potentially moving many of my pages into the first page of results.
Of course, I also recently switched to a full-text RSS feed, so perhaps fewer people are visiting my site to read longer articles. But my examination of direct and referring traffic in Google Analytics is inconclusive on this matter.
Using Google Analytics
Google is notoriously cagey on releasing information about their ranking system. They don’t want those SEO experts gaming the system to get their pages on top. Of course this hasn’t stopped anyone, but it can be difficult to determine where exactly one’s site is ranked.
The best information I’ve found is in Google’s Webmaster Tools. Here, one can view the top search queries for one’s own (verified) site, including the absolute position for both impressions (views in the search results) and traffic generated. Although this information is useful, it is not as quantitative as one might desire: I can see that a search for “iphone exchange setup” puts my iPhone ActiveSync setup page on top, but I can’t compare this to Yahoo or direct visits.
Google’s Analytics service is another great resource, with excellent recording and reporting of web site metrics over time. But the company seems reluctant to link this information to their search data, perhaps worried that they’ll make life too easy for those who are trying to game the system to get more traffic.
The Google Analytics SEO Filter
The SEO filter proposed by André Scholten certainly is clever: Although Google doesn’t include absolute ranking data in Analytics, their own URLs do include an indication of which page of results a user was viewing when they clicked to visit a site. When one is not satisfied with the results on the first page of Google’s search, they click “Next” and are taken to another page of results. Google tracks which page to display using an element in the URL called “start”. For example, the second page of results is called by including “&start=10” in the URL, while the 10th page includes “&start=90”.
Since Google Analytics normally records the full referring URL, we can use an advanced feature called filtering to tag Google referrals with an indication of which page the user was looking at when they clicked. André doesn’t include the whole recipe, but it’s not difficult for a novice to implement:
- Get Google Analytics up and running for your site. I’m not going to go into how to do this here.
- In the main Analytics page listing Website Profiles for your user, click “+ Add new profile” in the gray bar. It is important that anything you do is done in a new profile, since this is a filter, and will remove (filter out) things that don’t match.
- Select “Add a Profile for an existing domain” (since you already set this domain up in step 1) and give it a Profile Name like “blog SEO”.
- Click Finish, and now we have a profile to work with without messing up our main Analytics results.
- Find this new profile in the Website Profiles list and click “Edit” under the “Actions” heading.
- The third box is “Filters” – this is where the magic happens. We will create three filters to only collect information on Google searches, and once you create them you can re-apply them in other profiles for other sites without reinventing the wheel.
- Click “+ Add Filter” and add a new one called “Ranking 1”. “Filter Type” will be “Custom filter”, and you will select “Include” under this. Then use “Campaign Source” as the “Filter Field” and enter “Google” as the “Filter Pattern”. This will filter out any traffic that didn’t come from a Google referral.
- Click “+ Add Filter” and add a new one called “Ranking 2”. “Filter Type” will be “Custom filter”, and you will select “Include” under this. Then use “Campaign Medium” as the “Filter Field” and enter “organic” as the “Filter Pattern”. This will filter out any paid traffic from Google ads.
- Now comes the big one. Click “+ Add Filter” and add a new one called “Ranking 3”. “Filter Type” will be “Custom filter”, and you will select “Advanced” under this.
- For “Field A -> Extract A”, select “Referral” and enter “(\?|&)q=([^&]*)” in the box (no quotes!) This matches the key/value sets in the URL.
- Next, for “Field B -> Extract B”, select “Referral” again and enter “(\?|&)start=([^&]*)” in the box (no quotes again!) This extracts the value for the “start” key, if present.
- Finally, for “Output To -> Constructor”, select “User Defined” and enter “$A2 (page: $B2)” in the box (think you include quotes? Think again!) This adds a custom tag with the full URL and the value of the “start” key.
- Finish it off by checking “Yes” for “Field A Required”, “No” for “Field B Required”, and “Yes” for “Override Output Field”.
- Now give it some time – at least a day for Google to start adding data to this profile. Assuming you did everything correctly, you shouldn’t have any trouble with the statistics recording in your main profile.
Watching the Results
Assuming it worked, you can now add the correct chart to Analytics in the new profile:
- Enter the new profile’s Dashboard by clicking “View report”.
- Select “Traffic Sources” on the left side.
- Click “google (organic)” in the “Top Traffic Sources” table – it should be the only item there!
- In the “Dimension” drop-down box, select “User Defined Value”. This is the payoff for all this work!
- Add this to the dashboard by clicking the “Add to Dashboard” button at the top.
- Now use your creativity to examine the data! For example, enter “page: 10” in the “Find User Defined Value” box. These are search terms that showed up on the second page for some reason, so you might try some SEO kung fu to improve their ranking…
You will notice a number of visits coming up as “(not set)”. This means that the Google referral didn’t include the long URL with keys and values, so you don’t know where the user was when they clicked.
With some creativity, you could adapt this filter to grab Yahoo, Microsoft, or other SEO information. But Google is definitely the 800 lb gorilla right now, and page 1 is the target – it accounts for 90 to 95% of Google referrals to my site!
If you enjoyed reading this, you’ll probably also like my Foskett Services blog!
BrentO says
WOW! This is brilliant. Thanks for the tip. Added it to my Analytics and can’t wait to see the results.
sfoskett says
The results aren’t clean and tidy (like my Apple Numbers charts here) but they’re solid data. Let me know if your pattern matches mine – I suspect it will!
And I must say, as an old UNIX and perl hand, I loved the regular expressions!
Devang Panchigar says
Steve,
Been a reader of your blogs for about 4 months now……
As curious you are about Google, i am too…..started blogging about 6 months ago, my agenda was to write about technology in terms of hardware and software for storage industry. As i wrote about these topics, the google ranking on pages etc kept on getting better. Same with the home page.
Again it was never my intention to drive more search engine traffic, but as i started seeing those results, i kept on getting greedy. Today as i blog, i do tend to use technical terms a lot that would pickup itself in google.
The blog gets a lot of direct hits, but a lot of it comes from google, atleast 65% of it. Yahoo was the next in line.
My bad, i changed the domain name from datastoragewiki.com to storagenerve.com (10th of jan, 2009) and have to go through the process of re-indexing with google and yahoo again. But it does show how important these search engines are these days to drive traffic.
Rather than thinking about all the traffic that it drove to the blog, i started analyzing, what are the keywords people are using to search on google where my blog gets listed, like the technological keywords. Today as I write blogs about technology, i do write it with technical terms. it is not just to drive traffice to the blog, but to see what a user or a reader is interested in.
Also based on that data, we could analyze what sort of machines are located where in the world, i have a blog about it, if you feel interested, here is the link to the blog….. http://www.storagenerve.com/2008/12/concentrati…
If possible, i would highly recommend lijit, again good tool to see what your users what to read. Oh…..i think some of the information about also comes from google webmasters tool….here is the link…..https://www.google.com/webmasters/tools
Thanks Steve….again great reading your blogs…..
Devang Panchigar says
Steve,
Been a reader of your blogs for about 4 months now……
As curious you are about Google, i am too…..started blogging about 6 months ago, my agenda was to write about technology in terms of hardware and software for storage industry. As i wrote about these topics, the google ranking on pages etc kept on getting better. Same with the home page.
Again it was never my intention to drive more search engine traffic, but as i started seeing those results, i kept on getting greedy. Today as i blog, i do tend to use technical terms a lot that would pickup itself in google.
The blog gets a lot of direct hits, but a lot of it comes from google, atleast 65% of it. Yahoo was the next in line.
My bad, i changed the domain name from datastoragewiki.com to storagenerve.com (10th of jan, 2009) and have to go through the process of re-indexing with google and yahoo again. But it does show how important these search engines are these days to drive traffic.
Rather than thinking about all the traffic that it drove to the blog, i started analyzing, what are the keywords people are using to search on google where my blog gets listed, like the technological keywords. Today as I write blogs about technology, i do write it with technical terms. it is not just to drive traffice to the blog, but to see what a user or a reader is interested in.
Also based on that data, we could analyze what sort of machines are located where in the world, i have a blog about it, if you feel interested, here is the link to the blog….. http://www.storagenerve.com/2008/12/concentration-of-storage-machines-based.html
If possible, i would highly recommend lijit, again good tool to see what your users what to read. Oh…..i think some of the information about also comes from google webmasters tool….here is the link…..https://www.google.com/webmasters/tools
Thanks Steve….again great reading your blogs…..
Devang Panchigar says
Steve,
Been a reader of your blogs for about 4 months now……
As curious you are about Google, i am too…..started blogging about 6 months ago, my agenda was to write about technology in terms of hardware and software for storage industry. As i wrote about these topics, the google ranking on pages etc kept on getting better. Same with the home page.
Again it was never my intention to drive more search engine traffic, but as i started seeing those results, i kept on getting greedy. Today as i blog, i do tend to use technical terms a lot that would pickup itself in google.
The blog gets a lot of direct hits, but a lot of it comes from google, atleast 65% of it. Yahoo was the next in line.
My bad, i changed the domain name from datastoragewiki.com to storagenerve.com (10th of jan, 2009) and have to go through the process of re-indexing with google and yahoo again. But it does show how important these search engines are these days to drive traffic.
Rather than thinking about all the traffic that it drove to the blog, i started analyzing, what are the keywords people are using to search on google where my blog gets listed, like the technological keywords. Today as I write blogs about technology, i do write it with technical terms. it is not just to drive traffice to the blog, but to see what a user or a reader is interested in.
Also based on that data, we could analyze what sort of machines are located where in the world, i have a blog about it, if you feel interested, here is the link to the blog….. http://www.storagenerve.com/2008/12/concentrati…
If possible, i would highly recommend lijit, again good tool to see what your users what to read. Oh…..i think some of the information about also comes from google webmasters tool….here is the link…..https://www.google.com/webmasters/tools
Thanks Steve….again great reading your blogs…..