Welcome To eMonetized.com - A Social Media, Internet Advertising and Affiliate Marketing Blog.

Go Dynamic! …with Adwords Dynamic Keyword Insertion On Your Landing Page

Posted on November 07, 2007 by Tim Schroeder

In my first “Go Dynamic!” article I talked about using Dynamic Keyword Insertion With Google Adwords. In specific, how to insert keywords “dynamically” into your text ads.

As a follow-up to this, I’m now going to telling you how to use Google Adwords so that your clickthrough URL dynamic inserts keywords into your landing pages. Lets get right to it!

Using Dynamic Keyword Insertion On Your Landing Page:

The process for this is really quite easy so it won’t need a long explanation. Continuing with my “Train Dog” example from my previous post, here is how your typical ad might look when using Dynamic Keyword insertion.

{KeyWord:How To Train Your Dog}
40,000+ Copies Sold. How to Train
With Immediate Results, Guaranteed!

In order to using dynamic keyword insertion on your landing page, you will just need to make one change on your Google Adwords text ad. That change is made to your DESTINATION URL.

Let say your Display URL is:

and your Destination URL is:

1. You would change the Destination to:

This “?kw={keyword}” code passes what ever search keyword was used to enter your landing page.

2. Now on your landing page, simply place<? echo $_GET[‘kw’] ?>” wherever you want to keyword to be placed.

You don’t really have to setup an Adwords campaign to test dynamic insertion. Here is an example: http://www.emonetized.com/dynamic.php?kw=Cool Dude

You can change whatever comes after “?kw=” and it will dynamically insert the keywords.

You can also use <? echo $_GET[‘kw’] ?> to dynamically insert tracking IDs (such as a SID) at the end of you affiliate link. For example in your affiliate link use: LinkToYourAffiliateOffer.com/offer.php&SID=<? echo $_GET[‘kw’] ?>

You will need to find out what characters are allowed in your SID by the affiliate network (spaces? periods? underscores? numbers? etc…).

In the case that your keyword is “train dog” but your affiliate network does not allow spaces in the SIDS, you may have to create a separate clickthrough url for each keyword in your Adwords account. There is more than one way to do things. Lastly in this tutorial your landing page would need to allow PHP.

To Your Success!

Did you enjoy this post? Please Subscribe via RSS or eMail.

22 Responses to “Go Dynamic! …with Adwords Dynamic Keyword Insertion On Your Landing Page”

  1. Stephan Miller

    - 7th Nov, 07 09:11pm

    Damn, man. You keep coming up with stuff. If I had only known this a while ago. I created this whole complex tracking system.

    Theoretically you could do direct affiliate links with this if you want to track down to the hits. Just have a landing page that catches the keyword, saves the hit, keyword, time, etc. Then get the last insert id from mysql and pass it on to the affiliate page as the tracking id.

    That’s what I do now, but I use regex to grab the query from the referring url. This would have been easier.

    Then connect this hit database with a database that stores your adwords data with another database that has your sales data. Bam instant tracking.

    Or so I thought.

    And I just wrote a whole blog post as a comment.

    Cool trick. I will have to rewrite some things.

  2. Starfeeder

    - 7th Nov, 07 11:11pm

    Whoa that’s insane… I think I’m going to have to re-read that a couple of times 0_o

  3. Steven Finch

    - 11th Nov, 07 05:11pm

    This is amazing!

  4. iry

    - 14th Nov, 07 03:11am

    hi, is there anyway to hide the kw=Cool Dude in the URL?

  5. Mike Cabarles

    - 23rd Nov, 07 05:11am

    I agree with Iry – you don’t really want your keywords flying all over the place with all this keyword stealing software about.

    Does anyone know how to cloak and hid the keywords and still pass the values to clickbank?

    And what will the search engine robots see when they come?

    They won’t be bringing the keywords with them as a ?tid= parameter
    Won’t they see a very unoptimized site?



  6. David Gurevich

    - 14th Jan, 08 08:01pm

    Nice work explaining this. I’m sure this will help many people, and keep up the good job!

  7. LCD

    - 18th Mar, 08 09:03pm

    I’ve been doing this for a while to dynamically place text on the landing page, but it never struck me to append the kw as the sid. If I can figure out how to get around getting rid of the spaces it’ll mean I wasted a ton of time on my current tracking system.

  8. Tsatkin SEO

    - 16th May, 08 07:05am

    Thanks for that tutorial. This is exactly what I was looking for it took me almost 2 hours… whew.

    Everywhere I looked people were trying to get you to create a separate file containing you tracking codes and manually adding a different code for each landing page and then matching it back up after.

    This way will save tons of time, and will allow for finding new keyword opportunities when things are set on broad or phrase match in google.

    Thanks again.

  9. Make Friends, Earn Money

    - 4th Jun, 08 06:06pm

    nice post, very helpful code examples

  10. Adwords Experts

    - 28th Jul, 08 11:07pm

    Many thanks for your clear description here. It may surely help guys.

  11. Web Copy

    - 8th Dec, 08 03:12pm

    Ahh.. been looking for good views about dynamic keyword tricks, I found only a few helpful and free info such as this one.. Thanks for sharing us this info, Creating good landing pages is one of the biggest challenges that I’ve encountered… I don’t want to just create some junk pages ’cause I want to maximize my profits and finding good info like this really means a lot..

    Thanks a bunch, will also add this to our web copy resource list..


  12. Dan Murray

    - 18th Mar, 09 03:03am

    Very cool post thanks! Been looking everywhere to find the correct parameter.

    So google uses: domain.com/landingpage.php?kw={keyword}
    can you tell me what Yahoo and MSN use? somewhere I read that it was ?keyword={keyword} for google?

  13. Robert Vance

    - 15th Apr, 09 02:04am

    Is there a way to do this on a wp blog page or post. or maybe a plugin to do this?


  14. Jamie D

    - 20th Apr, 09 08:04pm

    Great post..

    As what Mike & Iry said… I believe that a seperate landing page has to be constructed just for your DKI/ PPC campaigns… and hide them from the SE`s using robots.txt to avoid duplicate content and negative SEO..

    Here is another good post on this topic.

    Nice blog here. Thanks for info.


  15. SierraNevada

    - 3rd Jun, 09 01:06pm

    Thank you for taking the time to do this tutorial, I will be reading your blog regularly from now on.
    I am also looking for info on how to prevent google from slapping your landing page.

  16. Kerry Erasmus

    - 23rd Jul, 09 05:07am

    Very good article, exactly what I was looking for, thanks

  17. Kerry Erasmus

    - 29th Jul, 09 12:07am

    Hi Tim
    I am new to all this, but I tried it yesterday, unfortunately I could not get it to work. This is what I did:
    I created a landing page called freecourse01 using a sub directory called http/:fc01.canumarket.com.
    Statement in landing page HTML reads as follows: They Use The Internet Extensively To Build Their Network Marketing business

    In my Google adwords I put this destination URL

    But it does not seem to pick up
    the variable USANA on my web page when published.

    Then I noticed you had an extra path in your Google adword, ie
    /landing page.php, so I uploaded the same web page(which is called “freecourse01.html” with a php extention and included it in the path, eg
    But it still did not work, can you let me know what I did wrong please.

  18. Kerry Erasmus

    - 29th Jul, 09 12:07am

    Hi Again Tim
    Don’t know what happened to my message, but after posting it the Statement(“”) disapeared. I had it in between
    To Build Their XXXXXXXXXX Network Marketing business

  19. Kerry Erasmus

    - 29th Jul, 09 12:07am

    Hi Again Tim
    It again disappeared, I am trying to tell you that I used the
    ( echo$) statement.
    WOW! this is driving me nuts

  20. Jason

    - 1st Nov, 09 04:11pm

    Well this code worked for me. GREAT.
    I spent 4 hours last night playing with virtually the same code


    to switch a line of text with a kw, else original kw is used.
    for some reason I csnt understand
    your line of code


    im using the code in a html doc. with my .htaccess all correct.

    I cannot for the life of me get the If Else statement to work. when even i use that statement in my code on the page, the whole page just loads blank. So must be an error in the code ? ???
    but i cant find it.

    Can anyone point me in the right direction.
    Best regards

    many thanks again , as i was all about to give up on this code getting it to work.

  21. Stephen

    - 6th Nov, 09 06:11pm

    You have to publish your page as php. and not html. Maybe that is your problem

  22. catalonia

    - 1st Mar, 10 01:03pm

    A most excellent tip Tim, this is one to use straight away.

What Do YOU Think?

© 2007-2009 eMonetized.com Affiliate Marketing Blog. | SUBSCRIBE