Using AdWords Dynamic Parameters in Links

Posted: January 22, 2006


Google allows four different dynamic URL parameters to be added to any AdWords destination URL string to pass along information about that particular click. These parameters are replaced with actual data about the click so that your log files, or tracking system, contains additional data about your AdWords clicks enabling one to analyze more data about any campaign and individual click.

The four parameters pass along:

  • If the click originated from search or the content network
  • The keyword in your account that triggered the ad that was clicked
  • The creative that was clicked
  • The originating website (for Site Targeted campaigns)

In the URL illustrations, I’m going to be using this URL as a starting point:
http://www.example.com?src=AdWords&medium=PPC&campaign=AdGroupName

In this URL, these are the current definitions (i.e. the minimum tracking I add to any URL for any paid traffic):

  • src=AdWords - The traffic source
  • medium=ppc - The medium for the traffic source (i.e. this could be banner, ppc, email, etc)
  • campaign=AdGroupName - The ‘theme’ of the traffic. (For Yahoo Search Marketing, this would be the category name.)

The AdWords Dynamic Parameters:

Is the traffic from the search or content network?

This is the parameter to determine if the traffic is from the content or the search network:
{ifContent:Content}{ifSearch:Search}

AdWords allows one to replace the ‘Content’ or the ‘Search’ after the colon in the string to whatever you desire. If you only wanted to use a single letter to parse out the information, you would change the parameters to look like:
{ifContent:C}{ifSearch:S}.

This parameter is also known as ‘ValueTrack’. More information is available from the AdWords help section on ValueTrack.

The URL now looks like:
http://www.example.com?src=AdWords&medium=PPC&campaign=AdGroupName&Network={ifContent:Content}{ifSearch:Search}

What keyword triggered the ad?

With AdWords matching styles, it’s often possible for a variety of keywords within the same account to trigger an ad. The keyword parameter allows one to see which keyword triggered the ad. It’s a very simple parameter:
{keyword}

I generally add kw= in front of insertion to label what this parameter is showing. Thus, the URL now looks like:
http://www.example.com?src=AdWords&medium=PPC&campaign=AdGroupName&Network={ifContent:Content}{ifSearch:Search}&kw={keyword}

More Matching style definitions:

Which ad was clicked?

It is often useful in split testing or determining Profit by Click to know which ad was clicked for tracking sales or under preforming traffic back to the actual ad. This dynamic parameter adds the ‘ad id’ to the URL:
{creative}

The biggest issue with this is that it only shows the ad number (which usually looks like: 123653). It makes sense that Google isn’t going to pass the entire ad copy through the URL. To find which ad matches up with the ad id (which you’ll want to know when you line up the data to the ad) there are three ways to find the number:

  1. In the AdGroup, view the source and line up the numbers (by far the most cumbersome)
  2. Pull the information via the API (the easiest way when lining up numbers)
  3. Run an ‘ad text’ report inside your AdWords account. When running this report, in the additional columns menu there is a check box for ‘ad id’. Click this box and it will display the ad id with the rest of your report.

I usually add ‘ad=’ before this parameter in the URL string for identification purposes. This now makes the URL look like:

http://www.example.com?src=AdWords&medium=PPC&campaign=AdGroupName&Network={ifContent:Content}{ifSearch:Search}&kw={keyword}&ad={creative}

Which website triggered the click?

This parameter is only for site targeted campaigns. If the parameter has no data, then Google does not display the parameter. Therefore, it doesn’t hurt to add this to all URLs, however, just remember, many times it will be blank.

This will NOT show which website triggered the click in content targeting campaigns. For that level of tracking, you’ll have to choose an analytics package that reads past the ‘pagead2.googlesyndication.com’ in the referring URL.

The parameter insertion is pretty simple, just add:
{placement} to the URL.

This makes the URL now look like:
http://www.example.com?src=AdWords&medium=PPC&campaign=AdGroupName&Network={ifContent:Content}{ifSearch:Search}&kw={keyword}&ad={creative}&SiteTarget={placement}

If you are using Google Analytics:

Each tracking system has it’s own set of parameters that it reads. Therefore, you might need to change ‘kw=’ or ‘medium’ etc in the URL string to something your tracking system will parse into appropriate categories.

It is important to also note that some analytic packages require the parameters to be in a specific order, while others just look for the identifying information and don’t care which order is utilized (i.e. one could add site target first, then keyword, then creative, then search vs content, etc).

If you are using Google Analytics, this is how the tracking string would look like with the proper parameters attached:
http://www.example.com/?utm_source=AdWords&utm_medium=PPC&utm_term={keyword}&utm_content={creative}&utm_campaign=AdGroup&Network={ifContent:Content}{ifSearch:Search}&SiteTarget={placement}

The only parameters that need to be adjusted in the above URL is the website (i.e. replace example.com with your website) and AdGroup (replace with your Actual AdGroup name).

Wrap Up

Google has done an excellent job with AdWords of allowing variable parameters to be passed to your website. It has made it easy to track just about anything, especially if you’re pulling information via the API and automatically generating reports based on both your log files and AdWords information.

Understanding the URL string, it’s parameters (AdWords or not) is very important to learn and master. It’s not just about tracking AdWords, it’s about tracking in general. Once you’ve lined up your tracking system with AdWords information, you’ll be very happy when you start using MSN adCenter which has it’s own set of parameters insertions.

If you’ve structured your medium, keyword, creative, etc identifiers in a standardized URL, when you start using other traffic generating campaigns, you’ll already have a default to just plug in the new information and off you go. This makes it easy to compare banner traffic versus email traffic versus PPC traffic.

Know all the variables. Choose the variables you want to compare. Analyze the data. Make decisions based on facts.

The internet gives you the capacity to track just about anything - use the available tools effectively.


Related Information:
« Yahoo admits no one can detect every fraudulent click
Microsoft to Power Blogs through Xbox »

Stay on top of PPC info - Subscribe Today!




Comments

13 Responses to “Using AdWords Dynamic Parameters in Links”

  1. werty on January 31st, 2006 12:02 pm

    Nice summary on this Brad!

  2. Jim on March 16th, 2006 6:40 am

    Thank-you. Good info!

  3. Juliano Motta on April 12th, 2006 2:01 pm

    Hello, Brad.

    First of all, very nice article =)

    Let’s suppose I have the keyword Notebook running in Adwords in broad match and I want to track the phrases that triggered the ad (eg. Notebook Toshiba). I tried using the parameter {keyword} but I just get the value NOTEBOOK and not NOTEBOOK TOSHIBA. Do you know if there’s a way to track what users search for instead of the original keyword? My objective is to learn what keywords have the best ROI and leave out bad keywords for my campaign.

    Thanks!
    Juliano

  4. Brad Geddes on April 13th, 2006 7:56 am

    At present, I don’t think any analytics supports that option because of how the PPC engines pass referral data.

    What would need to happen is that when someone visits your site with some explicit string (i.e. ?adwords=ppc&kw=notebook) that you could grab the search string from the previous page (the PPC engines don’t pass the search string, only what is triggered in your account) and correlate that data with the previous page.

    This might be possible with querying the browsers back button or some other piece of JAVA. It might be possible, but something I’d have to talk to my developers about to see if those disparate scripts could work together.

    The idea is sound, its just a matter of how hard/possible the execution would be.

  5. ich on July 19th, 2006 3:31 am

    there is a mistake in google analytics link - missing ampersand between utm_content={creative} and utm_campaign=AdGroup

  6. Brad Geddes aka eWhisper on July 19th, 2006 7:17 am

    Nice Catch, ich - Mistake corrected.

  7. Be Careful of Security Issues when Using Wiki’s and Blogs with Trackbacks » bgtheory.com on July 24th, 2006 7:43 am

    [...] A few days ago, a new comment was posted to this blog from a url that breaks down into: ClientSite.AdvertisingAgencySite.com/DEV/ProjectName which linked to my post on using AdWords Dynamic Parameters in URLs. Without even reading the comments, I knew that Company A was launching a new AdWords campaign and which company would be running the show. However, I also received comments on the page past the URL which told me even more about the ad campaign. [...]

  8. AdWords Valuetrack Post » bgtheory.com on August 13th, 2006 7:22 am

    [...] The Valuetrack information is here. Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]

  9. PayPerClickIQ on August 19th, 2006 9:05 pm

    AdWords Dynamic Parameters…

    Have you often wondered where your clicks come from?  What search terms are converting the best?  Were the converting clicks from the ad network or from Google search? Which website, for those that use site targetting, did the click come……

  10. Microsoft adCenter Supports Dynamic Parameters for Links » bgtheory.com on February 8th, 2007 7:55 am

    [...] supports dynamic parameters in URLs (also called valuetrack); and Microsoft adCenter supports a similar feature (although, [...]

  11. Jeff’s Blog » Blog Archive » Tracking Adwords and other ppc click results on April 6th, 2007 11:36 am

    [...] A useful passage on managing the target url of adwords using adword dynamic syntax: http://www.bgtheory.com/blog/using-adwords-dynamic-parameters-in-links/ [...]

  12. PPC Keywords - how many to start? - Page 3 - WickedFire - Affiliate Marketing Forum - Internet Marketing Webmaster SEO Forum on May 22nd, 2007 4:33 pm

    [...] with Adwords editor - easy enough to add a few commas with excel though. I’ve just read this: Using AdWords Dynamic Parameters in Links ยป bgtheory.com and am going to start using urls in analytics format for a lot of campaigns: [...]

  13. Paid Search Keywords and Queries on December 28th, 2007 12:22 pm

    [...] each keyword in every one of your campaigns to pass back the name of the keyword you purchased (see this post for info on the way to do this in Google, there are similar methods available for Yahoo and MSN) [...]

Google AdWords
Seminars for Success

Learn about Google AdWords from experts hand selected by Google.

These seminars will educate advertisers on the creation and management of successful AdWords campaigns.

Upcoming Seminars:

Las Vegas Seminar Monday, November 17th
Washington DC area Seminar Tuesday, December 2nd
Houston Seminar Thursday, December 4th

Learn More about the Seminars:
Seminar Information
Official Google Seminar Page
Suggest a new city

Brad Geddes


Brad Geddes Brad Geddes aka eWhisper
View Brad Geddes's profile on LinkedIn









Leslie Clark


Leslie Clark Leslie Clark
View Leslie Clark's profile on LinkedIn

Other Memberships














Local Search Ranking Factors Contributor

2008 SEMMY Runner-Up