Ever wonder how some affiliate are able to dynamically insert the searched keywords on their landing pages? I remember for the longest time, I was always baffled by it, since I’m not much of a programmer or developer. Once I learned I felt kind of dumb since it is extremely simple with just a few lines of code added on your page. I’m sure there are a handful of ways to do this, but here’s how I do it:

Step 1

There is just 1 simple change on your destination URL’s in adwords. Just add
?kw={Keyword} to the end of your destination URL and you are done. For example if your destination URL is http://www.lander.com then the new URL would be http://www.lander.com/?kw={Keyword}

Step 2

Next at the top of your landing page insert this snippet of code

<?php
if(isset($_GET['kw']))
$key=$_GET['kw'];
else
$key=’Everything Else’;
?>

This picks up the value of the keyword being searched with an alternative text of “Everything Else”.

Step 3

Now every where you want your keyword to appear in your landing page just insert this piece of code
<?php echo $key;?> and your done! It is as simple as that.

Here are 3 examples:
http://www.ppcfool.com/keyword-insertion.php?kw=Whats up?
http://www.ppcfool.com/keyword-insertion.php?kw=Anyone Can Do This
http://www.ppcfool.com/keyword-insertion.php?kw=Sign-up for my RSS Now!

Why this is important?

Adding the searched keyword can help your conversions. Anything on your landing page that the searcher is familiar with boosts your credibility and relevancy. How many times have you searched for something, landed on a page and thought ‘this has nothing to do with want I’m looking for?’

Dynamic keyword insertion will give your page more relevancy which will help conversions

Want more landing page tips? Check out my 10 day series on landing pages!