Hi guys I need some help with this. The traffic source cannot pause certain websites that are un compliant with my offer. I have to block clicks from getting to the offer from a few specific un compliant websites.
Do any of you know a way to block clicks with your tracking from getting to the offer ?
I don't think either has the capability to redirect/block/filter based on a subid which is what you would need in this case, assuming you can pass the publisher/website IDs and know what they are.
This is something easily done with an intermediary PHP script that checks a certain subid and splits the traffic to A or B accordingly. You would obviously need to be able to change your advert URLs at the traffic source.
On the other hand, you can do this with MobAffTracker and that may be a better solution - some may say it's a wise move to use this opportunity as reason to test out that platform.
Can you check the referrer and block accordingly? That should work unless the referrer is blanked.
I've got these code snippets that will redirect a certain referrer to a different URL:
PHP:
<?
$referer = $_SERVER['HTTP_REFERER'];
if ($referer == "http://www.badwebsite.com") {
header('Location:http://www.urltosendto.com');
}
?>
<script type="text/javascript">
if (document.referrer == ("http://badwebsite.com.com" || "http://badwebsite2.com"))
location.href = "http://www.urltosendto.com";
</script>
Yeah you could do referrer based redirects (which e.g. Imobitrax supports I think) but I assumed they weren't available - lots of networks are blind or don't pass referrers but allow token insertions instead.
How can you identify traffic from those websites? If you can check referrers, as zeno and rafael say, you can block that way. Alternatively, if you know what keyword/source/token they pass, you can block based on that.