Welcome to PPC Hero, the authority on pay-per-click strategy, industry news and great ppc-insider tips. Here you'll find our Reader's Favorite posts, PPC management handbooks, Team's Favorite posts, and our collection of blog series. Don't forget to subscribe to our RSS Feed!

The Secret of Tracking Yahoo! Keyword Data in Google Analytics

Posted 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.

trackingurls.JPG

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!



Subscribe to RSS   Don't forget to subscribe to the PPC Hero feed!

Related Posts:
  • The Google Guillotine Has Fallen Again With the Removal of Cross Channel Tracking
  • Our Greatest Hits for April!
  • Reader’s Favorites
  • Learn How to Track Your MSN adCenter PPC Keyword Data in Analytics
  • Discover Google AdWords Insertion Tags and Learn How to Use Them Today

  • 16 Responses to “The Secret of Tracking Yahoo! Keyword Data in Google Analytics”

    1. Alex Says:

      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

    2. John Says:

      Alex,

      Thanks for the tip - and keep the helpful blog posts coming!

    3. michaelportent Says:

      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!

    4. BIG Pay Per Click Advertising Roundup for Saturday through Sunday 3/29/08 - 4/6/08 | semvironment Says:

      […] 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!” […]

    5. Karen Says:

      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.

    6. Greg Says:

      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!

    7. John Says:

      @ 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!

    8. Mark Says:

      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?

    9. John Says:

      @ 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!

    10. Monk Says:

      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?

    11. Monk Says:

      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?

    12. Jesse DaCosta Says:

      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!

    13. John Says:

      @ 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.

    14. Jesse DaCosta Says:

      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?

    15. Nathan Says:

      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

    16. John Says:

      @ 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

    Leave a Comment

    Hanapin MarketingeMarketingSilo

     
    Advanced Search
    PPC Hero Handbooks
    PPC Hero Blog Series
    Team Favorites
    Blog Cateogry Blog Archives Blog Authors Illustration Archive



    Google Ad Words Qualified Company

    Yahoo Search Marketing Ambassadors

    Microsoft adExcellence Member

    BIGLIST of Search Marketing Blogs







    PPC Hero & SEO Boy



    Home Contact About Subscribe