In last week's Whiteboard Friday "Kill the Head or Chase the Tail", Rand and I started by discussing how to gain true insight into what kind of keywords are leading people to discover your brand and ultimately driving conversions for your business (clue: it's probably not branded search phrases, despite what your analytics reports are telling you). Today, I'm going to demonstrate one way of measuring this more accurately in Google Analytics.
The problem is well described by the ever-excellent Avinash Kaushik in his post entitled Measuring Upper Funnel Keywords (although nominally about paid search, his description applies perfectly well to natural search except you aren't paying for traffic in the same way). It can be summarised by thinking about all those reports we have all seen showing branded search terms being the best-converting. While this is true in the sense that the individual finally converted after searching for the brand, it's clearly not the way they found out about your services. For the purposes of setting strategy, you need to understand in better detail your "visitor acquisition" channels that eventually lead to conversions. Sam's superb post on SEOmoz's conversion rate lessons from 2009 touches on this in point 2.
Enter multi-touch analytics tracking.
Most analytics packages use last-touch attribution by default meaning that conversions are allocated to the most recent source of a visit for that visitor. We are interested here in first-touch attribution or even multi-touch attribution models to understand how visitors are influenced over time by repeated visits to the site. If you are interested in analytics packages that can track multiple touches 'out of the box', I recommend reading John Santangelo's YOUmoz post on Google Analytics alternatives.
First-touch tracking in Google Analytics
Patrick at Blogstorm has written about over-riding last click attribution (something I also discussed in my presentation Analytics Every SEO Should Know that Scott linked to from the Whiteboard Friday). But this method only works when you can specify the exact URL of the landing page including parameters as it relies on the utm_nooverride parameter. This works fine for email and PPC traffic, but doesn't help with tracking organic search traffic.
For this, we need a slightly more involved method.
In my presentation, I touched on the function setVar and a custom function called superSetVar, but in the updates announced in October last year, the GA team released a new function called setCustomVar that is now the best functionality to use. For this purpose we want to track variables at the visitor level.
In your GA tracking code, you want to check for the presence of the __utma cookie which will be present only if the user is a returning visitor. If it is not present, use the JavaScript variable document.referrer to set a visitor-level custom variable (named something like "original referrer") and use location.pathname to set a second visitor-level custom variable (named something like "original landing page"). Take care not to re-use custom variable slots you are using elsewhere in your analytics.
You will probably then want to add a filter to your analytics profile to convert the raw referrer into referring keywords using a filter like this one for getting detailed PPC keyword information (obviously not filtering only PPC traffic). You might also want to pull out the original source (which you can work out from the referrer and landing page) into a separate variable.
With this all set up, you will be able to run conversion reports by original keyword for a given original source and see conversion information based on first click attribution. I would expect that you would see the long-tail contributing far more than it does in the standard reports and branded search much less (not zero of course - there will still be first-touch branded searches driven by PR, offline marketing etc.).
Multi-touch attribution modelling
If you are feeling especially hardcore, you can dig even deeper into this whole mess by attempting to capture multiple touch-points. The idea here is that you want to give attribution for conversions not only to first- and last-touches but also give so-called assists to touch-points along the way (e.g. a conversion path could look like long-tail keyword > head keyword > branded search > direct visit - under this scenario, you might want to give the head and branded searches some attribution for the conversion).
This becomes especially important if you have different departments contributing to the marketing - you would like to be able to give some credit to the departments that bring the visitor in, some to the channels that keep the visitor returning and to the channel that finally converts them.
I haven't set this up with the new GA functions, but the basic process would involve something similar to the superSetVar function for the new setCustomVar. The idea here would be to stuff repeat visit information into the custom variables. This information is almost certainly unusable via the interface and you will likely need to export to Excel and play there (most likely with Pivot Tables - you all know how much I love them - it's a little while since we ran a conference call (that link is to a recording of the one I did on Excel) but I'm planning the next one so go and sign up if you aren't already on that mailing list).
If you're hardcore enough to really want this information, you can probably work out the details! If anyone has done it and wants to write up detailed instructions, I'll happily update this post with a link to your explanation.
View-through conversions
The missing piece of the puzzle if you are doing multi-touch attribution modelling is giving 'assists' to branding events such as the viewing of a display advert (without a clickthrough). Rich, our PPC guru at Distilled, wrote an introduction to Google's viewthrough conversion metric.
There are all kinds of privacy concerns in extending this further - but the data is out there to gather this kind of data across whole platforms (e.g. understanding search funnels that led to your site in the end). The signs are there that we are going to get ever more information like this - particularly out of Google who are obviously always looking for ways to persuade their customers to spend in areas outside (the generally cheaper) branded search!
I love analytics and statistics, so I'd love to hear your favourite tips and tricks in the comments.
I'm sure future conference calls in my schedule will involve analytics tips and tricks so go ahead and sign up if you'd like to hear when they are running. You also might be interested in a post I wrote about integrating Google Website Optimizer with Google Analytics on SearchEngineLand.
a code sample I believe would be super helpful in this case. Thanks for the info, but seeing how it is done would be priceless.
I second Mike's comment :)
I second that to!
Here's a quadruple for that statement. I will buy a beer for the man or woman that puts up a code sample. Or send you funds via paypal to buy your own...
After reading these posts about Google Analytics and customising your analyses, I feel as though I'm not utilising Google Analytics as well as I could be.
Thanks a lot for your help, definitely going to be checking this out! By the way, it was a great Whiteboard Friday last week. It would be good to see you and Rand together again for some more in the future.
Another invaluable tool that isnt covered enough is the "excellent analytics" plugin for excel, that does a superb job of integrating your GA with excel, for advanced stats usage.
That's absolutely perfect thank you! I'll just have to get a copy of Microsoft Office - do you know of one that works with Open Office?
I don't subscribe to that corporate nonsense
Thanks, I will try that one.
Rand and I recorded a bunch of WBF while I was in Seattle, so you will see me in a few more soon (wearing the same shirt!).
That's great, looking forward to seeing them!
I'm not saying Rand isn't a good speaker, but it's an interactive WBF between two separate individuals it's much more interesting to watch.
Great post, and one of the points about why you should spend a decent amount making sure your web analytics is setup to match your business and customised to suit your marketing and reporting.
We are looking at utlising the new Custom Variables to start so our clients can understand more about their visitors, but we have stayed away from the persistent cookie because it does not seem to be a best solution.
So will have to wait or you can look at other web analytics packages such as Yahoo Web Analytics which offers the multi-touch features.
ugg short boots hey?
haha i think it works... because after reading that spam post 8 times, i actually want Ugg boots!
But im not sure that i would trust
dazebrands.com
shopstyletoday.com
bestugg.info
Based on the recent HitWise UK traffic patterns with all the cold weather, haven't the spammers missed the ideal time?
Based on this very informative article, I wrote a script for a colleague in an attempt to capture this important data. In addition to first-touch en multi-touch tracking, the script also measures the time-to-conversion (in hours) which might be beneficial for some people:
https://weblog.scanyours.com/2010/06/23/multi-touch-conversion-tracking-with-google-analytics-part-3-implementation/
Hopefully some people find the script useful. Suggestions for improvements are of course always welcome.
We've also adopted some of the ideas here and put together a Multitouch Analytics package that works on top of Google Analytics. It uses a javascript library to record the touches in a cookie, and a separate reporting package to generate reports that show the contributions to each conversion from all the marketing channels.
Details and downloads available from here: https://www.multitouchanalytics.com/
Hi,
How do we actually generate/download the reports after getting the Javascript, etc installed? Any help would be greatly appreciated! Thanks!
Nice that you mention pivot tables again, they have changed my effectiveness in excel and the way I utilize data. If anyone is not familiar with pivot tables and spends a good portion of the day in excel I would strongly recommend a crash course in them.
Does anyone have a learning resource they could pass along for those who are unfamiliar with pivot tables?
Will should be on commision to the pivot table department over at excel towers!
on a more serious note, pivot tables are without doubt the single best function of excel thats accessible to everyone, and more people should learn how to use them, and if it does take the odd blog post or talk at a conference from Will, then all the better!
Thanks for the comments, guys. I did get into some of the pivot table stuff in the excel conference call. The recording is online, but I should really get round to uploading the notes / slides as well. I'll do my best to do that soon!
Fantastic post for tracking users within the conversion life-cycle. Thanks a ton for this post, it's got me thinking advanced segmentation to the hilt!
This is a great article and you guys are starting to crack the nut, but I think there are more problems than are mentioned. For instance, first touch attribution ignores the important influence of brand and repeat visits in big-ticket decision making. Also, the multi-touch model you describe would only really work in a test environment where volume could be contained. Also, the data processing needs would probably be more than just a pivot table, especially in a production environment.
However, the techniques are good and the concepts are creative and really interesting. I think this is great as first, exploratory steps.
Will, a great post but a code sample would be great here...
This is unbelievably hardcore. I can't wait to get started.
I heard Avinash speak yesterday about multi-touch attribution, and after a couple of years, it finally clicked! Have you heard of any other websites that have case studies, and step by step tutorials? Would love to get more information on multi-touch variables.
Thanks!
Hi,
Great Article!
After reading Multi Touch Attribution and the User Defined Variable I have been left with a question.
"If the visitor already has a value for the User Defined Segment Variable when they arrive at your site, then that value will be used. If you set additional values, they won’t show up in the GA Reporting Interface until the users next session."
If the above is true, you can set a touch point but it will not be counted unless the user comes back again an other time... right?
What is your view on this?
Thanks!
Yes. I think you are correct, but since we are only tracking multiple touches here, if they don't come back, then first touch and last touch will be the same so I think we're OK.
Im new to seo for personal use, but working on getting some websites going and i have read alot of these articles and they seem to have alot of great info!
I look forward to more.
Thanks
This is definately on my list of things to try this month, after next week's insanity is over.
I am in the same boat as Traxor in that I am clearly not utilising GA enough.
Good post.
Now to find some training on using Analytics.
Superb stuff, Will. I'll need to brush up on my pivot tables skills. :)
Will,
brilliant as usual. Now all I need to do is find time to get in an play around...something that has become especially challenging of late with everything going on!
Personally, anything that further helps illustrate the importance of torso and long tail terms is a win in my book. Still amazing how much people disregard and over look the tail.
Perhaps the problem is that so many view this as an either or scenario. All need to be targeted, but different methods will be called into play to target head vs. torso vs. tail.
UaU your posts opened my mind a bit more about Google Analytics. As we do Man and van london (removals)I’m learning a lot every single day with those nice tips as yours…thanks…
Great way to place a natural link in a SEOMoz comment.