it's a few steps, you'll have to decide if it's worth it. probably easier just to use prosper for ppc and piwik for organic.
but here you go, this is my process ...
in prosper:
1. create the landing page that you are sending traffic to via ppc
2. create one more "catch all" landing page called "default" for organic, etc. traffic.
3. click "get lp code" and get codes for both pages
4. click "get links" and generate the link for your ppc campaign
with this edit the following three scripts.
ppc.php
this will replace the link you generated in step 4 and will go in your ppc campaigns. but very important, you have to copy the ?t202id=###&t202kw= part from the end of the link you generated and paste it to the end of this link. so your new link will be something like:
my-affiliate-site.com/ppc.php?t202id=###&t202kw={keyword}
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
</head>
<body>
<!-- paste the script for the ppc landing page here -->
<script src="http://your-prosper-site.com/tracking202/static/landing.php?lpip=###" type="text/javascript"></script>
<!-- replace the url here with the url to your ppc landing page -->
<script type="text/javascript">
window.location="http://www.my-affiliate-site.com/ppc-landing-page";
</script>
</body>
</html>
sitewide footer
put this code in the footer of your entire site. if a p202 cookie has not already been created this will set the cookie for your default landing page.
Code:
<?php if (empty($_COOKIE["tracking202outbound"])) { ?>
<!-- paste script generated for your default landing page code here -->
<script src="http://your-prosper-site.com/tracking202/static/landing.php?lpip=###" type="text/javascript"></script>
<?php } ?>
outbound.php
outbound links on your affiliate site and to your offer should link to this script.
Code:
<?php
if (isset($_COOKIE["tracking202outbound"])) {
$tracking202outbound = $_COOKIE["tracking202outbound"];
} else {
// replace this url with outbound tracking affiliate url for default landing page
$tracking202outbound = "http://your-prosper-site/tracking202/redirect/lp.php?lpip=###";
}
header("Location: $tracking202outbound");
exit;
?>
sean