Tracking traffic source

Discussion in 'Commission Junction' started by argothiusz, Oct 26, 2007.

  1. #1
    Is there anyway to tracking which traffic source make a purchase on your site?

    Let say I am using Ebay RSS feed and I advertise my site with Adword, Yahoo Publisher, Sponsor Search. Then how can I track down which advertising network get me the conversion?
     
    argothiusz, Oct 26, 2007 IP
  2. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use the SID variable in the EK. On the destination URL of your PPC capaigns append a value..

    ie: http://www.yourdomain.com/?a=yahoo (create different destination URLs for each network)

    On the receiving page (assuming you're using a dynamic programming language, such as PHP), you could add it..

    <?
    $sid = (isset($_GET['a'] ? htmlspecialchars(urlencode($_GET['a'])) : '');
    ?>
    
    PHP:
    Then in your EK code add <?=$sid?>. This will add the 'a' value if there is one passed to the site. Then if you make a sale from the EK, you'll see the SID in the details.

    Hope this helps
    hanji

     
    hanji, Oct 26, 2007 IP
  3. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #3
    k..I have few questions
    1.What is EK?
    2.Can you give an example of EK code with <?=$sid?> include?
    3.so I can just put http://www.domainname.com/?a=whatevervariablehere ?
    4.and will this effect the click rate since visitor see ?a=yahoo/google right after your domain name?

    Thanks for the help Hanji
     
    argothiusz, Oct 26, 2007 IP
  4. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    1. My bad. I thought you were using EK (Editor Kit). I see that you're using RSS, so you'd be using the flexible destination tool for linking to ebay auctions.
    2. You would append the sid in the flex url (rover)
    http://rover.ebay.com/rover/1/711-1751-2978-71/1?AID=5463217&PID=<?=$PID?>&SID=<?=$SID?>&mpre=http%3A%2F%2Fcgi.ebay.com%2Fws%2FeBayISAPI.dll%3FViewItem%26item%asdfafdafasdf%26ih%3D002%26category%asdfasfd%26ssPageName%3DWDVW%26rd%3D1
    Code (markup):
    3. That would be the destination URL vs the display URL
    4. If I understand the question.. no, because the display URL would be http://www.yourdomain.com and destination URL will be http://www.yourdomain.com/?a=yahoo. This should be fine with TOS since the domains are the same.

    hanji
     
    hanji, Oct 26, 2007 IP
  5. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #5
    k, I got question 1
    For question 2: Do I replace <?=$Pid?>with my PID and <?=$SID?> with my SID ?
    Question 3 and 4: Ah, I didn't see the destination URL in my campaing. Now I realize it.
     
    argothiusz, Oct 26, 2007 IP
  6. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yep.. you need to set those local variables first:

    <?
    $PID = 'youpidvalue';
    $SID = (isset($_GET['a'] ? htmlspecialchars(urlencode($_GET['a'])) : '');
    ?>
    PHP:
    hanji
     
    hanji, Oct 26, 2007 IP
  7. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #7
    K, I get it now but it will only shows the SID I generate and still doesnt show the traffic source.

    Do I need to make a second PID and SID code but instead of GET 'a', I will do GET 'b' ?
     
    argothiusz, Oct 28, 2007 IP
  8. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You're losing me. The question was to determine where the source came from. We've set the source by appending a 'a' variable with the value of 'yahoo' if it came from YSM.. isn't that the source you're asking about? If so, that is being added to the SID and will display in your reports at CJ. I'm guessing we're not on the same page when it comes to defining 'traffic source'. So let's start over.. what do you want to see in SID?

    hanji
     
    hanji, Oct 28, 2007 IP
  9. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #9
    Ya..
    A is value of Yahoo

    and what if the source come from Adword?
    Do I have to set another variable?
     
    argothiusz, Oct 28, 2007 IP