Forum Moderators: open

Message Too Old, No Replies

Inserting Searched Keywords Into Landing Pages

         

Williamsburg

8:48 pm on Apr 30, 2004 (gmt 0)

10+ Year Member



Hello...
We are running some PPC listings...We've started down the road of landing page testing. Now, we'd like to insert the searched keyword into the landing page.

Anyone know of a script or anything that can accomplish this?

thanks!

jeremy goodrich

7:11 am on May 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



U can parse the http_referer when a visitor arrives at your site. Perhaps you could also predefine a few to test?

Eg, map the {keyword} in the ad to a special page on your site that says:

keyword - 50% off today only

My suggestion would be to use a scripting language if you want to do all keywords this way, or set up a webservice that generates a new page customized on your ad campaign / keyword buy / media placement / etc. Mapping creative on page to off page advertisements does increase conversion rates :)

DanThies

12:16 am on May 10, 2004 (gmt 0)

10+ Year Member



That sounds pretty easy to accomplish, what scripting languages (ASP, Java, Perl, PHP, etc.) do you have available to use?

organ

12:43 am on May 11, 2004 (gmt 0)

10+ Year Member



Use an asp page.

Within your code, grab the keyword out of your URL like this:
<%=Request.QueryString("keyword1")%>

In this case, your url might be:
[****.com...]

rubenski

10:51 am on Jun 8, 2004 (gmt 0)

10+ Year Member



I use PHP to extract the keywords from a search engine referrer:

$referrer = $HTTP_REFERRER;

if (preg_match("'(&¦\?)(p¦q¦qry¦origq¦as_epq¦as_q¦query¦qkw¦vp¦search_for¦queryterm¦szukaj¦searchfor¦Keywords¦va¦MT)=([^&]+)'", $referrer, $matches))
$var_keywords = $matches[3];
else
$var_keywords = "none";

I don't use it to display the keywords in ads. I just use it for my web stats. I am not sure how effective it will be if you use the extracted keywords in your ads. If someone seraches for say "how to create my own blue widgets" than your ad will say something like "how to create my own blue widgets" - now 50% off! Looks pretty unprofessional in my opinion.

DanThies

1:00 pm on Jun 8, 2004 (gmt 0)

10+ Year Member



You'd really be better off using some more intelligence than simply mirroring the keywords, absolutely, if you're making a headline out of it.

I doubt that you it's possible to outperform a well-written headline simply by sticking keywords in it.

jcoronella

4:27 am on Jun 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



rubenski, thanks for that bit of code.

(Took me a few minutes to catch that you need to switch out the pipes for your system pipe.)

nuevojefe

5:15 pm on Jun 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



rubenski,

Thanks again, that's useful. Get inventive with it, doesn't necessarily need to be in h1 or be the big headline but think of a way to incorporate it usefully.

snag

9:17 am on Jul 26, 2004 (gmt 0)

10+ Year Member



Rubenski,

Thanks for the code, I've been playing with a number of code bits and yours works best. I threw it into a function for my own analysis stuff:


function Simplextract ($refurl){

if (preg_match("'(&吒?)(p妁妁ry她rigq地s_epq地s_q妁uery妁kw宅p存earch_for妁ueryterm存zukaj存earchfor妄eywords宅a危T)=([^&]+)'", $refurl, $matches)) {

$var_keywords = $matches[3];
$var_keywords = stripslashes(urldecode(strtolower(trim($var_keywords))));
}
if ($var_keywords){
return $var_keywords;
}
return;
}