Home > Technical & Creative Skills > Tracking Campaigns

How to pass the referrer? (6)


11-15-2015 03:44 PM #1 thunderx3 (Member)
How to pass the referrer?

Hi guys,

I need to pass my site or any domain i own as referrer.

I am doing the following right now:
Bought traffic -> mysite.com/A (301 Redirect) -> mysite.com/B (GEO script there and again 301 redirect) -> Offer/ desired destination

Normally it should show mysite.com/A as referrer, but it shows the domains from the adnetwork i bought the traffic from...
I even tried meta refresh, but it still doesn't show my site.

I am testing this via adf.ly and as Offer i use a website that displays your referrer. So i shorten my URL and when i see "adf.ly" i know that something is wrong.
Can anyone help me with this? Does Voluum or CPVlab pass the referrer


11-15-2015 07:51 PM #2 i_am_positive (Member)

if you want to null the referrer just use this http://nullrefer.com/?http://yourdomainname.com

EDIT: Just read your post carefully, if you want to pass the referrer - you dont have to do anything.

Your site -> Offer url -> That's enough


11-16-2015 09:15 AM #3 bobliu (Member)

Adf.ly? they load your lander within an iframe right? That might be why you're getting some leaks. Try a double meta refresh, usually does the trick.

Code:
 <?php
$searchlink = 'http://www.domain3.com/tmp/showreferer.php';
$hidedomain = 'domain1.com';

if(strpos($_SERVER[‘HTTP_REFERER’],$hidedomain) !== false) {
echo ‘<html><head><title>Loading…</title></head><body>’;
echo “<meta http-equiv=\”refresh\” content=\”0;url=”.’http://’.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’].”\”>”;
echo ‘</body></html>’;
exit;
}
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: $searchlink”);
exit();


11-16-2015 10:50 AM #4 thunderx3 (Member)

@bobliu
I only shrink my link with them and some other ad is in the iframe. This way adf.ly is before my URL and mimicks the adnetworks domains.
@ i_am_positive
I thought the same, but it's not the case. Also i am talking about referrer so means the site before "Your site". Adnetworks can see that.

O.k. i just tried the following:

Bought traffic -> mysite.com/A (meta refresh) -> mysite.com/B (GEO script there and again 301 redirect) -> Offer/ desired destination
After the meta refresh it shows mysite.com/A as referrer which is good.

Only issue is i see the page for a moment and it's slower than a normal 301 redirect.
Doing the same thing with Voluum and i don't see the page and redirection happens super fast... Anyone knows what they use?


11-16-2015 04:32 PM #5 ThrvTrkr (Member)

@thunderx3 you still see the page for a moment. check the hop links and you'll see. It's just that the intermediary page is blank.

For double meta redirect there has to be an intermediary page. No way around it.


11-16-2015 04:50 PM #6 popvertising (Member)

Quote Originally Posted by thunderx3 View Post
Only issue is i see the page for a moment and it's slower than a normal 301 redirect.
Doing the same thing with Voluum and i don't see the page and redirection happens super fast... Anyone knows what they use?
Meta/Javascript redirect is always slower than 301/302, there is nothing you can do about it.


Home > Technical & Creative Skills > Tracking Campaigns