A redirect & the image source

Discussion in 'Commission Junction' started by yeikow, Nov 22, 2007.

  1. #1
    I am trying to promote one product directly through PPC.

    I have a domain that redirects to the merchant's page. However, I am worried the sales are not being registered because:

    a) The text-link from CJ for that product is something like:

    h ttp: //www.***********/click-xxxxx-xxxxxx?url=http%3A%2F%2Fwww.merchant.com%zzzzz%yyy yyy%wwww%yyyy%... %3Dfeeds%%xxxxxx&cjsku=xxxxxx-yyyy

    Something LONG.

    But when you actually paste that url in a browser or are redirected to it is something like:

    http://www.merchant.com/zzzzz/xx/

    Something SHORT.

    b) It says in CJ next to the Get html for the text-link:

    "Copy and paste the following HTML code into your web pages.
    You must include all the above html in your links. Any missing html, including the image source, will prevent the link from tracking properly and result in a loss of commissions. "

    I wasn't aware of the importance of that image source for tracking. How can I put the code of the image source, if I am php redirecting from PPC to merchant?

    <?php

    $url = "htt p://www.tkqlhce.com/click-2723841-10495307?url=http%3A ... %2www.merchant.com%2Fzz502% ... 27&cjsku=xxxx-xxxx";

    $destination = "Location: $url";

    header($destination);

    ?>


    That is my php redirect, using the text lin but no the image source lin.

    Anyone knows?

    Thanks!
     
    yeikow, Nov 22, 2007 IP
  2. broco

    broco Peon

    Messages:
    706
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I had the some problem.

    You should use java redirection :)
     
    broco, Nov 22, 2007 IP
  3. yeikow

    yeikow Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey broco,

    Thanks for the advice.

    I've been trying a javascript redirect without success: how do you do this?

    This is the code the merchant gives me:

    <script type="text/javascript" language="javascript" src="http://www.kqzyfj.com/placeholder-... yadda-yadda www.merchant.com yadda-yadda ww-m.jpg&target=_top&mouseover=N"></script>

    How does one go about putting that into the php redirect:

    <?php

    $url = " ";

    $destination = "Location: $url";

    header($destination);

    ?>

    You can't just assign the javascript to the $url...

    :confused:
     
    yeikow, Nov 23, 2007 IP
  4. mrmonster

    mrmonster Active Member

    Messages:
    374
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #4
    The image is there just to track the impression, you can leave the image on your site if you want impressions and use the link URL in your redirect.

    <img src="http://www.kqzyfj.com/JDFSFLDSIEKSDFS" width="1" height="1" />

    That will create an image thats basically invisible but still track the impression on your page, then with the link URL perform your redirect.


    If you want to use Javascript to "hide" your long links you can try this:

    
    <script language="javascript">
    function openURL(url){
       window.location = url;
    }
    </script>
    
    <img src="http://www.kqzyfj.com/JDFSFLDSIEKSDFS" onclick="openURL('http:/yourlinkURL.com')" style="cursor:pointer" />
    
    HTML:
     
    mrmonster, Nov 23, 2007 IP
  5. yeikow

    yeikow Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Great!

    Now I get it. I thought I needed that image for the sale to be tracked, or at least that sales could be lost if it wasn't there.

    I will cloak my links later on with your code in mind.

    Thank you very much
     
    yeikow, Nov 23, 2007 IP
  6. tvmatt

    tvmatt Peon

    Messages:
    1,076
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You do NOT need the 1px by 1px image for the sale to be tracked. Some of the top publishers on CJ - search marketers and coupon sites - do not use the 1x1 impression tracking pixels.
     
    tvmatt, Nov 23, 2007 IP
  7. Minterest

    Minterest Well-Known Member

    Messages:
    2,694
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    180
    #7
    I use PHP redirect...
     
    Minterest, Nov 24, 2007 IP
  8. NetONE

    NetONE Peon

    Messages:
    227
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    javascript redirect and it will be done!
     
    NetONE, Nov 24, 2007 IP
  9. yeikow

    yeikow Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Today I got my first sale ever.

    So it IS working 8)

    NICE!
     
    yeikow, Nov 24, 2007 IP
  10. yeikow

    yeikow Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I want to try promoting a merchant's products straight to his website instead of going through my landing pages, to test and see if it converts better.

    In order to do this, I need the affialiate link to a particular section of his website.

    I can get the aff link to his main page and to certain products through CJ, but how do I create an aff to a particular page of the merchant?.

    Text links I currently get are like:

    <a href="http://www.kqzyfj.com/click-xxxxxxxxxxxxx?sid=<? echo $id>" target="_top">Merchant</a>
    <img src="http://www.tqlkg.com/image-xxxxxxxxxxxxxx" width="1" height="1" border="0"/>
    Code (markup):
    So no way to tweak that to my desired merchant page :(

    How can you do that?
     
    yeikow, Nov 27, 2007 IP