简体   繁体   English

委员会联合直接链接

[英]Commission Junction Direct Links

Does anybody know if there is a way to get direct links to advertisers on Commission Junction with tracking? 有没有人知道是否有办法通过跟踪获得与Commission Junction广告商的直接链接? We don't want to rely on the links sent down in the feed because a lot of them are junk. 我们不想依赖于Feed中发送的链接,因为其中很多都是垃圾。

What I'd like is a link that just goes to the advertiser's homepage and still allows us to receive commissions. 我想要的是一个链接,只是去广告主的主页,仍然允许我们收到佣金。 Something like: http://www.newegg.com?pid=123123&aid=321123 类似的东西: http//www.newegg.com? pid = 123123&aid = 321123

If it has to run through CJ's tracking URL's that's fine too, but I just want the user on the homepage. 如果它必须通过CJ的跟踪URL也很好,但我只想让用户在主页上。

Thanks 谢谢

Old thread but figured it needs an answer. 老线程,但认为它需要一个答案。 Solution is quite simple. 解决方案非常简单。

What you need to construct is a URL that like this: 你需要构建的是一个像这样的URL:

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

Eg: 例如:

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

So... 所以...

  1. Pick a CJ root domain to link on. 选择要链接的CJ根域。 www.anrdoezrs.net, www.tkqlhce.com or any others on this thread will work. www.anrdoezrs.net,www.tkqlhce.com或此线程上的任何其他人都可以使用。
  2. Find any generic link ID for the advertiser by logging into CJ and viewing the Links tab. 通过登录CJ并查看“链接”选项卡,查找广告商的任何通用链接ID。 A good link to use will be something that's not likely to be deleted, like their brand logo. 使用的良好链接将不会被删除,例如他们的品牌标识。
  3. Take note of your Publisher PID 记下您的发布者PID
  4. URL-encode the actual destination you want to link to 对您要链接的实际目的地进行URL编码

Nick, I am not entirely sure what exactly you are asking for... 尼克,我不完全确定你究竟要求的是什么......

A CJ html link generally appears as such : 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"/>

You can track links by using server side coding such as PHP to add, in the case of CJ an SID which can be unique as the case as a username, product code/name on your website. 您可以使用服务器端编码来跟踪链接,例如PHP添加,在CJ的情况下是一个SID,在您的网站上可以是唯一的用户名,产品代码/名称。 So the resulting link will now appear as : 因此,生成的链接现在将显示为:

<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"/>

You should be alright to strip the URL further, although if you remove the img src, CJ won't be able to support you with impression data, only clickthroughs. 您应该可以进一步删除URL,但如果删除img src,CJ将无法使用展示数据支持您,只能点击。

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

I am not familar with all the CJ api's however I assume when you refer to feeds you are downloading something from the Product Search Service API or something similar in which case you will need to run a script to go through each url to search for '?' 我并不熟悉所有的CJ api,但是当你提到你从Product Search Service API下载东西的东西时,或者类似的东西我会假设你需要运行一个脚本来遍历每个url来搜索'? “ where you can add in the sid parameter, as a simple example: 您可以在其中添加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;
?>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM