The Secret of Tracking Yahoo! Keyword Data in Google AnalyticsPosted by John on April 3, 2008 in Advanced PPC Strategies, Yahoo! Search Marketing |
Pay-per-click marketing and web analytics – they go together like peas and carrots. Why you ask? Because the reports provided by the PPC search engines aren’t always enough! Services like Google Analytics provide advertisers with a wealth of knowledge for fine-tuning and perfecting their paid-search campaigns. This includes data like bounce rate, time on site or goal funnel visualizations. For advertisers who are using Analytics in tandem with their AdWords PPC account, the process for tracking data is a cinch. Google has an auto-tagging feature that will pull all of your PPC data into Analytics – including keyword level data. The question then becomes, “How do I track this data for my Yahoo! Search Marketing PPC campaigns?” Today I’m going to quickly explain how you can build custom tracking URLs to get the same comprehensive data for Yahoo!.
The first step is to head on over to the trusty Google Analytics URL Builder. This tool will let you input your landing page and variables including term (keyword), name (campaign), source (search engine), medium (cpc vs. email or organic) and content (ad version). After you manually input your data, the URL builder will provide you with a full tracking URL that you can copy/paste into your Yahoo! ads. Here’s a quick example:
- Landing page: www.example.com/tracking
- Variables: Source is Yahoo!, medium is CPC, term is PPC Hero, campaign is Tracking URLs and content is Best Blog Ad 1.
- Custom Tracking URL: http://www.example.com/tracking?utm_source=yahoo &utm_medium=cpc&utm_term=ppc%2Bhero &utm_content=best%2Bblog%2Bad%2B1&utm_campaign=tracking%2Burls
This example would basically only work for a single keyword and a single ad text. If you have the time to create a separate URL for every keyword in your Yahoo! account, all I can say is go for it! If you’re like me, you need a much quicker process for capturing data. It just so happens that Yahoo! has an auto-tagging feature. In your account, go to the Administration tab and click on Tracking URLs. Select the option Tracking URLs On and save changes. This will tell Yahoo! to append your destination URLs with information ranging from the keyword you bid on, to the actual search query and account specific information like campaign and ad group IDs.
How do you pull this information into Analytics? It’s relatively easy. If you look at the custom tracking URL example above, you will need to make modifications to the term, content and campaign variables. You will need to insert Yahoo!’s identifiers into each of these variables to pull the auto-tagged information into Analytics. Some of the basics include {OVKEY} for the paid keyword, {OVRAW} for the actual search query, {OVADID} for the ad text ID number and {OVCAMPGID} for the campaign ID numer. Here’s another quick example:
- Old Tracking URL: http://www.example.com/tracking?utm_source=yahoo&utm_medium=cpc &utm_term=ppc%2Bhero&utm_content=best%2Bblog%2Bad%2B1 &utm_campaign=tracking%2Burls
- New Variables: Term is {OVKey}, content is {OVADID} and campaign is {OVCAMPGID}.
- New Tracking URL: http://www.example.com/tracking?utm_source=yahoo&utm_medium=cpc &utm_term={OVKEY}&utm_content={OVADID}&utm_campaign={OVCAMPGID}
Now you can use this customized destination URL for an entire campaign (if applicable) and you will still pull detailed information into Analytics. I should point out that using Yahoo!’s auto-tagging identifiers will only produce real data if you have turned auto-tagging ON in your account! Otherwise all of your Yahoo! PPC visitors will register keywords as {OVKEY}. And trust me when I say, that isn’t very helpful. Discovering this process and putting it to use in my Yahoo! Search Marketing accounts has proved to be an invaluable asset. I would recommend to everyone reading this blog to set this up for your accounts as soon as you get the chance! And check in next week – I’ll explain how to do this for your MSN adCenter PPC accounts, too!







April 3rd, 2008 at 9:07 am
Hey John,
Thanks for the link! As I mentioned in my recent article about Google Analytics campaign tagging (here: http://www.alexlcohen.com/web-analytics/2008/03/26/campaign-tagging-google-analytics/),
you probably want to define the utm_source something other than “yahoo”, since this is the value GA uses for organic Yahoo traffic. I recommend “YSM”
Cheers,
-Alex
http://www.alexlcohen.com
April 3rd, 2008 at 12:58 pm
Alex,
Thanks for the tip - and keep the helpful blog posts coming!
April 3rd, 2008 at 5:25 pm
I still can’t believe I’m looking at a workable solution for anything related to Yahoo! Search Marketing. The mind… it boggles. Great tip!
April 7th, 2008 at 8:47 am
[...] The Secret of Tracking Yahoo! Keyword Data in Google Analytics - This post is very easy to follow and should hopefully take less than 15 minutes to implement. “Must read!” [...]
April 23rd, 2008 at 8:48 am
I believe I did everything mentioned in this article. I went to test it out, used the Google URL builder (which converted all the Yahoo identifiers to:
utm_term=%7BOVKey%7D&utm_content=%7BOVADID%7D&utm_campaign=%7BOVCAMPGID%7D
(I’m assuming the %7B and %7D are HTML codes for the brackets.)
Then I did a test click once Yahoo approved the ad. It didn’t register in Google Analytics.
What am I doing wrong?
Thank you, by the way. Outside of user issues (mine), this article and hopefully the MSN one next are very helpful.
April 25th, 2008 at 11:56 pm
This is a great article! I wonder if you could suggest a solution for a problem we are having.
We have an AdWords account with 15,000 keywords. We recently asked Yahoo to help us open a PPC account. Yahoo took a complete account download of our AdWords account and put it into a Yahoo PPC account. In doing so, they reduced the number of keywords to bid on from 15,000 to 4,000. The main reason for this, they said, was that in Google we were bidding on the singular and plural versions of keywords and keyword phrases, and they said that was not required in Yahoo.
Anyway, they also took the 4,000 ad texts from Google AdWords and placed those in the new Yahoo account. The only problem here, though, is they took the destination URL’s for the ads as they appear in AdWords, including the tracking parameters that AdWords automatically places at the end of URL’s.
I am not looking forward to removing those parameters from 4,000 destination URL’s. And even if they were not there, how would I add the URL tracking parameters with so many keywords.
With Google I can use AdWords Editor. Is there a good way with a Yahoo PPC account to make mass changes?
Thanks!
April 29th, 2008 at 9:17 am
@ Karen:
You do need to be careful of entering brackets { } into the URL builder. As you discovered, they spit out extra characters. What you should do is fill in all of your information into the URL builder, then replace the extra characters with the brackets for parameters like {OVKEY}. The brackets are important! Let me know if this fixes the issue.
@ Greg:
Yahoo’s Advanced Match automatically recognizes plurals, so it is not surprising that your keyword list shrank like it did! In that the folks at Yahoo were correct. Unfortunately, there is no “easy” way to edit 4000 destination URLs! However, you can download your new Yahoo account into a CSV spreadsheet. From here, I would recommend that you use the Filter function in Excel and sort your spreadsheet by destination URLs (remove blanks). From here you can begin the process of removing the AdWords tracking data and inserting the URL tags for Analytics. You may be able to speed things up with copy/paste if you have several ads in the same campaigns or ad groups. Let me know if you have any other questions!
May 13th, 2008 at 8:05 am
Hi I’ve pasted the following URL into my yahoo ad: http://www.ostomylifestyle.org/?utm_source=yahoo&utm_medium=cpc &utm_term={OVKEY}&utm_content={OVADID}&utm_campaign={OVCAMPGID}
When I try to save it it tells me it is an invalid URL?
Am I doing something really stupid?
May 13th, 2008 at 10:37 am
@ Mark:
When I copy and past the URL you have here, it works properly (as in I am taken to your landing page). As to why you’re having difficulties entering this into Yahoo, I’m unsure.
Yahoo’s system should recognize everything after the “?” in your URL as being some form of a tracking variable. Just to experiment, you could try entering only parts of the full tracking code. For example:
http://www.ostomylifestyle.org/?utm_source=yahoo&utm_medium=cpc&utm_term={OVKEY}
Try saving that and see what happens. And sorry if this insults your intelligence, but double check that you are entering this URL into the “destination URL” box and NOT the “display URL” box. If you continue to have problems, drop me a line via our contact form (from the main nav on the blog) and we can have a separate conversation!
May 14th, 2008 at 2:22 pm
I have my regular destination URL of http://mydomain.com/search/results.html?search_in_description=1&keyword=thiskeyword
how can I add ?utm_source…. etc… I already have a ? in the URL…
any suggestions?
May 14th, 2008 at 2:25 pm
this is what google created for me..
http://mydomain.com/search/results.html?search_in_description=1&keyword=thiskeyword&utm_source=yahoo&utm_medium=cpc&utm_term=%7BOVKEY%7D&utm_content=%7BOVADID%7D&utm_campaign=%7BOVCAMPGID%7D
should it have the curly brackets or the %7 stuff?
June 6th, 2008 at 7:06 am
This is a great solution guys and I’m happy to say that it is working great for me. I’m a big fan of your blog and you guys post a lot of helpful stuff here. I do have a quick thought though on the {ovadid} parameter. This doesn’t seem to be telling me anything useful other than a bunch of numbers, which I don’t see in my Yahoo account. I was expecting it to pull in the ad name that i created but no such luck. Can you give us readers a heads up as to what this parameter is good for?
Thanks!
June 6th, 2008 at 1:00 pm
@ Jesse:
Thanks for the kind words! I’m glad that you find our info help (we try to post things that we find helpful, too).
Since writing this post, I’ve refined my use of this tagging process. You’re right in that the ad id or campaign id bring in numerical identifiers that only make sense to your Yahoo! account!
While I’m unsure of a more elegant solution at the moment, I now directly input the ad group name and campaign name into my tags. This ensures that you can directly relate your analytics data back to your Yahoo or MSN ad groups/campaigns.
June 9th, 2008 at 6:48 am
Thanks John. In your reply you mention that you “now directly input the ad group name and campaign name into my tags.” I understand how to use the tagging to pull in the campaign name but how are you pulling the ad group name? I haven’t seen a tag that allows for that, did I miss it?
June 22nd, 2008 at 6:53 pm
Thanks for this article!
I have set i up and waiting for the results.. I was wondering why GA was not recording the referalls (clicks) that yahoo was charging me for
Thanks again
Nathan
June 25th, 2008 at 10:10 am
@ Jesse,
First off, I apologize for not catching your comment sooner! Secondly, I manually input the ad group name into my tagging (i.e. “ad_group_B”) :
http://www.example.com/?utm_source=yahoo&utm_medium=cpc&utm_term={OVKEY}&utm_content=ad_group_B&utm_campaign=example_URL