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!
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...
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:
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
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.
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?