Home > General > Affiliate Marketing Forum

Prosper202 and cloaking questions (10)


03-17-2014 08:19 AM #1 dirtbag (Member)
Prosper202 and cloaking questions

I have an SSL certificate with PositiveSSL setup for my domain. This was necessary to place most of my tracking pixels securely. I understand that when a secure site directs a user to an unsecured site, all referrer data is wiped. I've read that people suggest not using the cloaking feature built into P202 as it can be slow and contribute to click-loss along your conversion path, and have seen suggestions that you should just redirect using SSL and an https link to achieve the same end goal of wiping your referrers. With estimates of 50%+ of internet users on Chrome now and double meta refreshes being essentially obsolete in that case, it seems like a SSL is a far more reliable way of doing this anyhow.

So, is that enough to cloak my traffic sources? On a direct link I simply link like so https://tracker.com/tracking202/redi...l.php?t202id=1 and everything is blanked as long as it redirects to an http address? There's no browser leaks or anything like that?

To blank referrers on a landing page using SSL, is it just a matter of taking your P202 code, and sticking an "s"in the link? Likewise for both the PHP and Javascript redirects? Which of the two options for redirecting is more efficient in terms of not losing your clicks?If you're using a landing page, there should be no reason to have to cloak the link coming into the lander at all, right?

if (readCookie('tracking202outbound') != '') {
window.location=readCookie('tracking202outbound');
} else {
window.location='https://tracker.com/tracking202/redirect/lp.php?lpip=1';
}


03-17-2014 10:30 AM #2 zeno (Administrator)

Correct.

HTTPS --> HTTP will not pass referrer data. All you need to do is use a secure P202 link that redirects to a non-secure affiliate link.

Use PHP-based redirection whenever possible - javascript is always going to be slower and will lose clicks when users have e.g. noscript.

If you are using a landing page you can similarly cloak referrers by having the landing page loaded under HTTPS but the outgoing CTA as an HTTP link. There is litte reason to then use an HTTPS initial tracking link if it redirects to an HTTPS landing page.


03-17-2014 11:14 AM #3 dirtbag (Member)

Can you rotates landing pages on a campaign within Prosper? I'm trying to find more details, as I'd like to start split testing my landing pages against eachother this week, but everythign I'm finding on Google right now is a little vague, or about rotating offers, not landers.


03-17-2014 12:21 PM #4 zeno (Administrator)

Not in vanilla p202 without some extra coding - but you can in the STM modded p202. Just go to setup > get rotating lander > fill in details, save. Then use the link generator that appears to the right-hand side to get your new tracking link.


03-17-2014 05:23 PM #5 dirtbag (Member)

I don't really feel like reinstalling 202 just to rotate LPs right no. I suppose I can just do a PHP redirect of my own.


03-17-2014 09:53 PM #6 zeno (Administrator)

Yes, the simplest remedy would be to add an intermediary PHP redirect that splits the traffic between landers/campaigns.


03-18-2014 01:55 AM #7 dirtbag (Member)

Alright, so I was able to get a LP rotating script from a very helpful AM of mine. last question I have is regarding the passing of dynamic link variables through the rotate.php. So say I have a bunch of dynamic values coming in like /rotate.php?c1=value1&c2=value2&c3=value3&c4=value4 , then it kicks the user out to one of 3 landing pages which have my "inbound JS landing page code" placed on them. How do I pass that value through the rotate.php to that outbounds links I have generated through P202?Will they magically find their way along? (I don't think so, lol. Maybe I'm wrong). I'm assuming I'll need to strip the values from the incoming dynamic link, and assign them to a variable that is then inserted into the outgoing links. I'm just not good with code, and my PHP go to guy is offline tonight.


03-18-2014 04:23 AM #8 zeno (Administrator)

I don't use vanilla p202 but if I remember rightly it checks the URL in the address bar for c1, c2, c3 etc. values.

So, all you need to do is append those values on to your outgoing link in rotate.php. This requires two steps.
1. GETting the querystring values (c1, c2, etc.)
2. Appending them to the lander URLs

See the pedagogic PHP script below:

Code:
<?php
//First we need to get the parameters passed with the URL after the ?. We do this using $_GET['name'] - here 'name' is whatever we had in the URL, i.e. subid1, subid2, etc. Then we are going to set them to be equal to a variable - here I just use subid to make things unambiguous, i.e. $subid1, $subid2, etc. Variables start with $ 

   $subid1 = $_GET['c1']; //value passed after c1
   $subid2 = $_GET['c2']; //value passed after c2
   $subid3 = $_GET['c3']; //value passed after c3
     
//simple redirect that rotates through landers

$redirect[1] = 'http://landerurl.com/lp1.php?c1='.$subid1.'&c2='.$subid2.'&c3='.$subid3;  //we need to make sure the syntax is correct! Use a syntax highlighting editor e.g. Dreamweaver
$redirect[2] = 'http://landerurl.com/lp2.php?c1='.$subid1.'&c2='.$subid2.'&c3='.$subid3;
$redirect[3] = 'http://landerurl.com/lp3.php?c1='.$subid1.'&c2='.$subid2.'&c3='.$subid3;
$number = mt_rand(1,3); //picks a random number between 1 and 3.
header("Location:$redirect[$number]");
exit;
?>
Make sure to test test test first to make sure rotate.php does what you expect and tracking data is coming up in p202 properly.


03-18-2014 06:20 AM #9 dirtbag (Member)

Understanding how the GET parts worked was all I needed. Rotating landers and passing along all my data like a charm now. Zeno comes through again. Thanks.


03-18-2014 07:27 PM #10 dirtbag (Member)

Ok. another neb Prosper question. My AM helped me get my SubIDs setup for Prosper, and I am directing my Campaigns towards an URL like so http://cpatracker.com/?a=00000&c=00000&s2=[[subid]]

If I am linking into my landing Pages with dynamic values for [[c1]], [[c2]], [[c3]], etc. Those values are not going to be passed on and tracked are they? I feel like I'm missing something here again.


Home > General > Affiliate Marketing Forum