References

Does anyone know if there is a way to get direct links to advertisers on Commission Junction with tracking? We don’t want to rely on links sent to the feed because many of them are undesirable.

I would like the link to be available only on the advertiser's main page and allow us to receive commissions. Something like: http://www.newegg.com?pid=123123&aid=321123

If it needs to run the CJ tracking URL, which is also very good, but I just want the user to be on the main page.

thank

+3
source share
2 answers

Old thread, but decided he needed an answer. The solution is pretty simple.

, URL:

http://<cj-root-domain>/click-<your-pid>-<advertiser-link-id>?url=<url-encoded-redirect-link>

:.

http://www.jdoqocy.com/click-1245-10888587?url=http%3A%2F%2Fwww.jewelry.com%2Fdaily-deal.shtml

...

  • CJ . www.anrdoezrs.net, www.tkqlhce.com .
  • , CJ . , , , .
  • PID Publisher
  • URL- ,
+9

, , ...

CJ html :

<a href="http://www.tkqlhce.com/click-2343223-123123" target="_top">acme.com</a><img src="http://www.awltovhc.com/image-123123-123123" width="1" height="1" border="0"/>

, , , PHP, , CJ - SID, , / -. , :

<a href="http://www.anrdoezrs.net/click-2343223-123123?sid=userid_here" target="_top">acme.com</a><img src="http://www.ftjcfx.com/image-123123-123123" width="1" height="1" border="0"/>

, URL- , img src, CJ , .

<a href="http://www.anrdoezrs.net/click-2343223-123123?sid=$userid">

CJ-, , , - API - , script, URL- '?' sid :

    <?php
$url = 'http://www.jdoqocy.com/click-12312312-12312321?url=http%3A%2F%2Fwww.borders.com%2Fonline%2Fstore%2FTitleDetail%3Fsku%3D0470029412&amp;cjsku=12312321123';
 $track_url = str_replace("?", "?sid=123book", "$url");
 echo $track_url;
?>
+1

Source: https://habr.com/ru/post/1780492/


All Articles