How to cloak and keyword track together ?

Discussion in 'Affiliate Programs' started by topcash, Jan 3, 2008.

  1. #1
    I have set up the cloaking using the jump.php page and .htaccess.
    But I am trying to get the keyword tracking also to be inserted into the jump.php page

    This is what my jump.php looks like.
    I cant seem to get the "kw" to pull the data.


    <?php

    switch(strtolower($_GET['to']))
    {
    case 'jumptexthere';
    $URL = 'http://afflinkhere.com/1234?sub=<? echo $_GET['kw'] ?>';
    break;

    }

    header("Location: $URL");

    ?>
     
    topcash, Jan 3, 2008 IP
  2. dubayou

    dubayou Peon

    Messages:
    709
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    make it look like this
    
    <?php
    
    switch(strtolower($_GET['to']))
    {
    case 'jumptexthere';
    $URL = 'http://afflinkhere.com/1234?sub='.$_GET['kw'];
    break;
    
    }
    
    header("Location: $URL");
    
    ?>
    
    Code (markup):
     
    dubayou, Jan 3, 2008 IP
  3. topcash

    topcash Peon Affiliate Manager

    Messages:
    503
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I must be missing something, but this does not work.

    '.$_GET['kw'];
     
    topcash, Jan 5, 2008 IP