A short Guide to 7Search Page Targeting

Status
Not open for further replies.

Stanley

Banned
Jun 24, 2006
3,399
43
0
San Diego
This guide shows you step by step how to redirect your visitors based on the search term they used in 7search


Part 1

  • 7search allows you to track incoming keywords with the special string ###KEYWORD###
  • when adding your site, your URL would look like this: http://www.example.com?keyword=###KEYWORD###
  • in your script, you would use the code $keyword=$_GET['keyword']; to capture the incoming search term
  • now that you have the keyword, you can use it to send the user to the appropriate place...

Part 2
  • Suppose you have 5 pages for the niche "apples"... Green Apples, Blue Apples, Brown Apples, Red Apples, and Weird Apples
  • check which keyword the user clicked on, so you can send them to the correct place -

    if(eregi("green", $keyword)){ header('Location: green.php');}
    elseif(eregi("blue", $keyword)){ header('Location: blue.php');}
    elseif(eregi("brown", $keyword)){ header('Location: brown.php');}
    elseif(eregi("red", $keyword)){ header('Location: red.php');}
    elseif(eregi("weird", $keyword)){ header('Location: weird.php');}

    what does that script do? it checks if part of the keyword had the word "green" in it, assumes the person was looking for the page about green apples, and sends them to green.php

    if the user searched for keyword "green blue" then it will always go for the word it finds first.. this is a flaw but it's not crucial
so, what's the point of all this work? it means you can have one site with a large keyword list but you can use the keywords to show them targetted ads

you can also use ###KEYWORD### to change the page title:
<html>
<head>
<title><?=$_GET['keyword']?></title>
....etc...

it took me longer to write this guide than it did to write the script...hopefully some of you will find this useful
 
  • Like
Reactions: Rob_TID


Is this to bypass the restriction of one ad per site? it's not a one keyword per unique URL is it?

Allen.H
 
Good call on the dynamic kw insertion.

To take it a step further and do this via a database driven script, create a database with a structure along the lines of

keyword
body

and anything else you want to have specific to a given page. Then just set up index to run a query based on the keyword parameter you pass in and replace title/h1 tags with the keyword, and the body with the value from your db. Only 1 actual php page you'll have to write and you can get infinite different kws.
 
I've had problems getting this to work. I can get around in php a little, but this hasn't happened for me yet. Any other pointers?
 
wicked!

Thanks stanley! I'm new to the marketing game but I've been using php for years and love it! I plan on using the info you supplied to store performing keywords in a custom tracking system I'm going to build to report the effectiveness of my arbi sites once I get them up and running.
 
Status
Not open for further replies.