Yahoo Tracking URLs

Discussion in 'Commission Junction' started by mharad, Jun 8, 2007.

  1. #1
    Can anyone lend a quick hand with Yahoo Search Marketing tracking links? I'm trying to get the keyword, creative and tactic (ysmtrm, ysmcrn and ysmtac) passed in CJ's Site ID (?sid=), but can't get the thing to work!

    Thanks very much to anyone who can throw up a quick example.
     
    mharad, Jun 8, 2007 IP
  2. tvmatt

    tvmatt Peon

    Messages:
    1,076
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you want Yahoo Search Marketing's tracking pixel to record when a sale has been completed through your CJ link, that's not going to work.
     
    tvmatt, Jun 8, 2007 IP
  3. mharad

    mharad Peon

    Messages:
    132
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nope, just looking for the keyword to be passed.
     
    mharad, Jun 8, 2007 IP
  4. tvmatt

    tvmatt Peon

    Messages:
    1,076
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If I understand correctly, Yahoo passes the variables ysmtrm, ysmcrn and ysmtac to the destination URL (so, something like http://yoursite.com/something?ysmtrm=something&ysmcrn=other...), right? You can put these in the SID with a simple PHP script on your website (I didn't check syntax, but it should work):
    
    <?
    $ysmtrm = $_GET[ysmtrm];
    $ysmcrn = $_GET[ysmcrn];
    $ysmtac = $_GET[ysmtac];
    $cjlink = "http://www.cj.link/goes-here";
    header("Location: $cjlink?SID=$ysmtrm-$ysmcrn-$ysmtac");
    exit;
    ?>
    
    PHP:
    Now, your SID will contain data in the form of "ysmtrm-ysmcrn-ysmtac".
     
    tvmatt, Jun 9, 2007 IP