Looking for something? Try the following:

  1. Visit Our New Tracking202 Support Center & Forum
  2. Read The Proper202 & Tracking202 FAQ
  3. Search This Old Forum
Landing Page Code
Post new topic Reply to topic Prosper202 Forum Index » Prosper202 General Discussion
New Posts Search Forum
Author Message
nwm60614


Joined: Dec 23rd, 2008
Posts: 1

Post Posted: Jun 6th, 2014 at 11:18am Post subject: Landing Page Code Reply with quote

This may seem like a somewhat quirky set-up; however, I like to set up a landing page to immediately redirect to a campaign setting a cookie along the way.

For whatever reason, since Prosper was updated, the landing page and subsequent offer clicks are no longer tracking BUT clicks ARE going to the affiliate network offer.

Any ideas?

Here's what the page looks like:

<!DOCTYPE html>

<html>

<head>

<title>GO</title>

</head>

<body>

<!-- PLACE OTHER LANDING PAGE CLICK THROUGH CONVERSION TRACKING PIXELS HERE -->

<!-- code below grabbed from Get LP Code page -->

<script>

(function(d, s) {

var js, upxf = d.getElementsByTagName(s)[0], load = function(url, id) {

if (d.getElementById(id)) {return;}

if202 = d.createElement("script");if202.src = url;if202.async = true;if202.id = id;

upxf.parentNode.insertBefore(if202, upxf);

};

load("http://my202domain.com/tracking202/static/landing.php?lpip=12345", "upxif");

}(document, "script"));

</script>

<!-- NOW THE TRACKING202 REDIRECTS OUT -->

<script type="text/javascript">

if (readCookie('tracking202outbound') != '') {

window.location=readCookie('tracking202outbound');

} else {

window.location='http://my202domain.com/tracking202/redirect/lp.php?lpip=12345';

}

function readCookie(name) {

var nameEQ = name + "=";

var ca = document.cookie.split(';');

for(var i=0;i < ca.length;i++) {

var c = ca;

while (c.charAt(0)==' ') c = c.substring(1,c.length);

if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);

}

return false;

}

</script>

</body>

</html>

Back to top
Post new topic Reply to topic Page 1 of 1