Double MetaRefresh Generator v1

razohad - thanks for coming up with this script. i have yet to run it because i need to pass variables throughout the process of flushing the referer. any way to pass variables the whole time or any plans to add that functionality in your code? if you need an example of what i want to pass just let me know. any help would be appreciated!
 
razohad - thanks for coming up with this script. i have yet to run it because i need to pass variables throughout the process of flushing the referer. any way to pass variables the whole time or any plans to add that functionality in your code? if you need an example of what i want to pass just let me know. any help would be appreciated!


what variables ?
i need an example of what you want.
 
thanks for the quick reply. i'm not sure if what i desire would require coding changes or just some guidance.

since i use LPGen and XConversions, i use sudIds to track keywords and sales. normally i would create an affiliate link on my landing page, appending the specific variable for the affiliate market's subId. something like:

http://www.affiliatecompany1.com/path/offer.html?sid=%%xc%%

if you don't use XConversions, the %%xc%% token just inserts this php code:

PHP:
<?php echo $var; ?>

obviously since this is a hard-coded link everything works as it should. i'm assuming that if i use your code and send to two pages before the affiliate landing page that the sid will be lost in the process. also, since i have the ability to rotate a list of offers, the %%xc%% token would need to be dynamically assigned to a list of offer URLs, for example:

http://www.affiliatecompany1.com/path/offer.html?sid=
http://www.affiliatecompany2.com/path/offer.html?s=
http://www.affiliatecompany3.com/path/offer.html?tid=

as you probably know, different affiliate networks use different variables to represent subIds (sid=, s=, tid=, etc). the important thing is to pass that %%xc%% value to the end of any offer URL in the random list, like this:

http://www.affiliatecompany1.com/path/offer.html?sid=%%xc%%
http://www.affiliatecompany2.com/path/offer.html?s=%%xc%%
http://www.affiliatecompany3.com/path/offer.html?tid=%%xc%%

my thought was that the %%xc%% token would need to included in the link to URL1 of the doublemetarefresh, to eventually pass to URL2 and on to the random offer chosen, like so:

a link from

http://www.mylandingpage.com

to

http://www.URL1.com?track=%%xc%%

to

http://www.URL2.com?track=%%xc%%

to (randomly chosen offer)

http://www.affiliatecompany2.com/path/offer.html?s=%%xc%%

like i said, i don't know if this can be done with a simple explanation how to do this or my guess is that the code for URL1 and URL2 would need to be slightly modified to keep this %%xc%% token passing all the way thru.

hope this makes sense and thanks!
 
as far as i know it can be done but you the php will need to be modified on
both files.

If i'll have time latter i'll code it for you.
 
that's what i was thinking, but i'm no php expert by any means. i probably could have hacked it out myself (wasting a day), but since your solution seems to be growing with other suggestions here, i thought it might be best to suggest it to you and keep it all under one core package. if you accept donations for your work, let me know how. thanks!
 
well here you go ,

its the same as before but now you can upload all of your links from a file
or one by one , your choice.

enjoy. :D

Razohad,

I just down loaded this one from you. This is the first time I stumble upon double meta refresh method. I search all forum threads, and I came to this thread at last. I have a few dumb questions ( I'm new to these stuff) hope you can help me to clear thins up once and for all so that I don't have to dig thru all threads/post.

1. So this is the ultimate tool I use....no need to seek further in the forum as of now? ( for this double meta refresh method)

2. I have created 2 php page with your tool

one:
<?php
echo "<meta http-equiv=\"refresh\" content=\"0;url=2nd.php\">";
?>


second:
<?php
$page1 ="http://www.mydomain.com";
$referer = $_SERVER['HTTP_REFERER'];
$mypages = array($page1);
$myrandompage = $mypages[mt_rand(0, count($mypages) -1)];
if($referer == "")
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=$myrandompage\">";
}
else
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=1st.php\">";
}
?>

what do I do with them? just upload to host?

So, the url would be: http://www.mydomain.com/1st.php

when traffic arrive, will be sent to http://www.mydomain.com/2nd.php

Am I follow?

where do I put my affiliate link?? So I still need to put my aff link manually right? where to put?

thanks for helping
 
Last edited:
well you almost got it,

you need to add your affiliate links to the program and not "yourdomain.com"

after you add a link or two or as many as you want, click the make button.

this will make your 2nd.php look like this:

PHP:
<?php
 $page1 ="http://YOURAFFILIATELINK.HERE";
 $referer = $_SERVER['HTTP_REFERER'];
 $mypages = array($page1);
 $myrandompage = $mypages[mt_rand(0, count($mypages) -1)];
 if($referer == "")
     {
         echo "<meta http-equiv=\"refresh\" content=\"0;url=$myrandompage\">";
     }
 else
     {
         echo "<meta http-equiv=\"refresh\" content=\"0;url=1st.php\">";
     }
 ?>
upload the files to your host and send traffic to 1.php

thats it.

no need for manual work!
 
thanks, now I got it.

2 questions:

1. so I'm doing email submits with a landing page. Which page is my landing page now? I assume it's 1st.php....so where do I put my landing page content? under the code?

<?php
echo "<meta http-equiv=\"refresh\" content=\"0;url=2nd.php\">";
?>

(all my content here)

2. So with this double meta refresh way, what will the affiliate manager see at their end? they still get to see a source URL right? or what? just nothing?
 
this is used to send traffic to cpa offer,
so either dont use a landing page
or have a link on your landing page that sends the visitor to your 1st.php

and as for your second question your AF wont see were the traffic is coming from thats
the whole point of this dubble meta refresh , to blank out the referer.


let me know if you still have questions. :)
 
yes, I still have questions :-)

I read form other thread, some said making your referrer blank which
is great but most network want to know how you get your traffic, if you don't you're getting yourself into trouble ( especially when your traffic converts too well)

what's your thought and what do you do?
 
that is true sometimes but know this
AM are marketers them self's and if you let them know your traffic source
they will use it .

the best thing to do is to not get greedy and to keep you're conversions rate low

good luck!
 
not working with ie 7.0

tested with firefox and works perfectly, thought I would test ie7 just before lauching it and it will go to else at bbb.php, meaning referer is not blank, furthermore I changed it to print referer and it will show where it came from, so it'll just send visitors back to aaa.php

how to fix this??
 
well most meta refresh wont work in ie7
and that is the main idea of a second file and not one file that refreshes to the affiliate link
if the referer is not blanked it will go back to 1st.php and try again that will keep the Visitor in a loop
 
well most meta refresh wont work in ie7
and that is the main idea of a second file and not one file that refreshes to the affiliate link
if the referer is not blanked it will go back to 1st.php and try again that will keep the Visitor in a loop
For A second there I thought this was inserting a referrer from te 'random' instead of a blank.

Is there a way to insert a fake referrer (like your own landing page)? After it blanks the referrer?
 
razohad, this http://www.blackhatworld.com/blackhat-seo/cpa/28314-share-great-script-anyone-incentivizing-cpa-offers.html#post273455 looks great to work together with double meta refresh. It helps to auto rotate offers.

I'm trying to figure out how I can get this script work with double meta refresh. Can you chimp in and give us your opinion? go here, roll down to the last post (by me, Nigel) see if my idea works? thanks in advance for helping.

http://www.blackhatworld.com/blackhat-seo/cpa/28314-share-great-script-anyone-incentivizing-cpa-offers.html#post273455
 
Thanks very much for this share. This will make things a bit faster :)
 
Still wondering if anyone has a way to spoof/replace the referrer with a url of our choice...
 
@Ken : I think it`s impossible for no one to know that. But I doubt anyone will share that.
 
Correct me if i'm wrong but didn't Boomers Cookie script fake reffers if you wanted it to?
 
Correct me if i'm wrong but didn't Boomers Cookie script fake reffers if you wanted it to?


correct but I wont share that because it will be wrong for me, BOOMER and
everyone else who paid for it.:rolleyes:
 
Back
Top