-1

I'm an affiliate marketer with essentially no programming experience, but I need a little help and I'm hoping you guys can help me out.

Currently I use a simple PHP redirect so that my advertiser can't see the ref URL of the site I have my ads on. (I assume this accomplishes that?)

<?php
header("Location: DESINATION URL");
exit;
?>

The ad server that I use allows me to target or exclude my ad campaigns to/from any user that has fired a particular pixel (iframe or script). The idea is that with this re-targeting capability, you can target your ad campaigns to people who visited a particular website in the past that you have a pixel on.

So, what I need to do is not only redirect users, but I want to figure out how to simultaneously fire either the iframe or script pixel. Here's the idea. Someone that clicks on one of my ads but doesn't end up making a purchase isn't someone that I want to serve ads to over and over again. Once they click, I want them to no longer be eligible to see one of my ads. The only way to do this is to fire a pixel for that user when they click, so that I can then use this retargeting feature of the ad server I use to exclude those users from my campaigns. Make sense?

User lands on the page pixel fires page redirects to destination URL

Is this possible?

4

1 回答 1

0

不,基于标头的重定向将始终向客户端显示 url。它本质上是在告诉浏览器“嘿,到这里来获取这个地址”。您的服务器没有获取该地址的内容,它只是告诉浏览器自己去哪里获取它。

您需要的是代理 - 您的服务器获取 URL 并将结果发送回客户端。

你是什​​么意思,“发射一个像素”?加载网络错误?

于 2012-09-03T16:39:21.387 回答