seikooc
Regular Member
- Aug 11, 2008
- 268
- 133
Hey guys, below is info on DMR's that you may know or not know and a solution for some traffic that would be otherwise lost.
Here is the deal with DMR's that many people do not realize. With most scripts you meta-refresh to the 2nd page instantly whether or not it was blank or has a referer. Not a big deal right - WRONG!!
The Normal Solution is that we are sending that traffic to another page that will see that the referer is not blank so it will not send. That precious traffic is now gone and will not make it to the aff link.
The Problem: It is a big deal because some of your traffic will be blank from the get go in instances when you email and in a few other situations. And some of that blank traffic will be using browsers like Opera and Safari, and once it attempts to go through your DMR it will then carry your 1st page .php link as a referer to the second page which will now stop your traffic from reaching the aff link because it now has a referer. If we knew it was blank from the beginning then we should let the traffic continue to the aff link using a pass through method such as header("Location hxxp://affiliatelink.c0m"); ... This method will work on all browsers since it's not doing a meta-refresh and since it's blank and we know it then it's fine to just let it pass through.
Now some people will say just send that traffic to an aff link that does not mind your referer, but remember that your referer is now just the 1st redirect page due to the full link being carried by those certain browsers (I don't care for any AM to know that link)...
My solution: Send traffic to abc.php -----> Evaluates if blank or has a referer -------> If referer is blank send to aff link using header("location....) request and you are done! (no need to send to 2nd page and no need to use a meta-refresh)
(if referer is present send to 2nd page using a meta-refresh) -------> 2nd page will determine if it is now blank ---------> If blank go to aff link -------> if not blank (usually due to browser) go to any other site.....
These are typical situations:
1. Blank referer with browser that allows DMR
2. Non-blank referer with browser that allows DMR
3. Blank referer with browser that does not allow DMR (NOW SOLVED)
4. Non-blank referer with browser that does not allow DMR (have to dump that traffic, which this script does)
So here are the scripts and the instructions to implement them:
Script 1. Replace bing.com with your affiliate link & replace yoursite.com with whatever your site name is (xyz.php is file 2 so keep that intact after whatever your site name is .com ... example: http://billybobskoolaucitons.com/xyz.php)
Save this file as abc.php
Script 2. Replace bing.com with your affiliate link & replace dumpsite6000.com with any site that you want to dump non-blank traffic.
Save this file as xyz.php
Now upload these 2 files to the root directory which is usually: /home/someusername/public_html/
Then point your traffic to yoursite.c0m/abc.php
Test it for yourself on browsers like FF vs Safari having no referer to begin with. And try it using a traditional DMR. The difference is the new one will make it to the aff link the old one will be wasted.
If you get a good amount of email traffic this will help you out quite a bit. Works great for me.
Hope you guys like it!!!
Here is the deal with DMR's that many people do not realize. With most scripts you meta-refresh to the 2nd page instantly whether or not it was blank or has a referer. Not a big deal right - WRONG!!
The Normal Solution is that we are sending that traffic to another page that will see that the referer is not blank so it will not send. That precious traffic is now gone and will not make it to the aff link.
The Problem: It is a big deal because some of your traffic will be blank from the get go in instances when you email and in a few other situations. And some of that blank traffic will be using browsers like Opera and Safari, and once it attempts to go through your DMR it will then carry your 1st page .php link as a referer to the second page which will now stop your traffic from reaching the aff link because it now has a referer. If we knew it was blank from the beginning then we should let the traffic continue to the aff link using a pass through method such as header("Location hxxp://affiliatelink.c0m"); ... This method will work on all browsers since it's not doing a meta-refresh and since it's blank and we know it then it's fine to just let it pass through.
Now some people will say just send that traffic to an aff link that does not mind your referer, but remember that your referer is now just the 1st redirect page due to the full link being carried by those certain browsers (I don't care for any AM to know that link)...
My solution: Send traffic to abc.php -----> Evaluates if blank or has a referer -------> If referer is blank send to aff link using header("location....) request and you are done! (no need to send to 2nd page and no need to use a meta-refresh)
(if referer is present send to 2nd page using a meta-refresh) -------> 2nd page will determine if it is now blank ---------> If blank go to aff link -------> if not blank (usually due to browser) go to any other site.....
These are typical situations:
1. Blank referer with browser that allows DMR
2. Non-blank referer with browser that allows DMR
3. Blank referer with browser that does not allow DMR (NOW SOLVED)
4. Non-blank referer with browser that does not allow DMR (have to dump that traffic, which this script does)
So here are the scripts and the instructions to implement them:
Script 1. Replace bing.com with your affiliate link & replace yoursite.com with whatever your site name is (xyz.php is file 2 so keep that intact after whatever your site name is .com ... example: http://billybobskoolaucitons.com/xyz.php)
Save this file as abc.php
PHP:
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
header("Location: http://bing.com");
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://yoursite.com/xyz.php\">";
}
?>
Script 2. Replace bing.com with your affiliate link & replace dumpsite6000.com with any site that you want to dump non-blank traffic.
Save this file as xyz.php
PHP:
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
header("Location: http://bing.com");
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://dumpsite6000.com\">";
}
?>
Now upload these 2 files to the root directory which is usually: /home/someusername/public_html/
Then point your traffic to yoursite.c0m/abc.php
Test it for yourself on browsers like FF vs Safari having no referer to begin with. And try it using a traditional DMR. The difference is the new one will make it to the aff link the old one will be wasted.
If you get a good amount of email traffic this will help you out quite a bit. Works great for me.
Hope you guys like it!!!