Prosper202: The Basics of Tracking

Alright, hopefully you have Prosper202 setup on it's own domain or subdomain. If not, please see this tutorial here:
Installing Propser202

Now let's get to the actual Tracking of Campaigns with Prosper202, shall we?

The reason we want to track our campaigns is to make sure we're getting the most out of our campaigns. What are the best keywords? Best sources of traffic? Without tracking we don't know what's really going on with our campaigns.

Prosper202 helps us solve this problem by tracking as many details as we may need. While it's not a cure-all, it's a very good product that is free.

First thing's first, make sure you're logged in. When you login you will see the following screen:

Step 1

This screen is where you'll see the stats for the day, week, month or year for your campaigns. You can drill down quite a bit for various metrics.

But since we're just getting started, we need to go to SETUP (see the blue tabs)


Step 1 Prosper202

This section is where you start setting up details to help automate building your campaign tracking.

Make sure you go in and add the PPC Networks you'll be working with and even the account username for each if you wish.

Next we want to go add the Affiliate Networks we'll be using. You'll see links under the tabs under the top, each numbered for the steps. This helps to make things much easier.


Step 2

We want to go to #2 and start adding the networks.


Now let's start building our very first campaign.

Now I'll go ahead and choose an offer from Covert2Media real quick. Wave hi to Kiley everyone! (joke)

OK, I've got my offer now and will start working on setting up this offer on p202.

See the details entered. Make sure you enter them all in, including SubID's! 

Example: s1=[[subid]] at the end of my affiliate link in the image.

I always turn cloaking on, but I always test to make sure it's working, too. Cloaking helps hide your links from 'stalkers.' 


If you're going to be using a Landing Page, make sure you set it up.

One thing to remember is that if you're using MULTIPLE products on a page, make sure you use an Advanced LP setup. You want this so you can track all links. For this tutorial we're going to use a simple landing page setup.

Now click ADD.


I rarely track ads, but that's only because I've had a lot of issues with it in the past. I encourage you to test everything and track everything. Here's an example of what to do...


Now you need to get the tracking link(s) for your Landing Page. For this one we choose Simple Landing Page (LP)

Now click Generate Tracking Links...

Oh noes, you broke the interwebz!

Just kidding, but you should see a bunch of new stuff pop up underneath that button. These are various options for your tracking. 

Let's go over each part:

Inbound Javascript Landing Page Code: This is the javascript code should be put right above your </body> tag on only the page(s) where your PPC visitors will first arrive to. This code is not supposed to be placed on every single page on your website. For example this is not to be placed in a template file that is to be included on everyone of your pages.

This code is supposed to be only placed on the first page(s), that an incoming PPC visitor would be sent to. Tracking202 is not designed to be a webpage analytics, this is specifically javascript code only to track visitors coming in.

Pretty simple. This goes into your page's HTML code (on the actual Landing Page itself), right above the closing </body> tag. Just put it right above that.

Option 1: Landing Page: Outbound PHP Redirect Code: This is the php code so you can cloak your affiliate link. Instead of having your affiliate link be seen on your outgoing links on your landing page, you can have your outgoing links just goto another page on your site, which then redirects the visitor to your affiliate link

So for example, if you wanted to have be your cloaked affiliate link, on redirect.php you would place our outbound php redirect code. When the visitor goes to redirect.php with our outbound php code installed, they simply get redirected out to your affiliate link.

You must have PHP installed on your server for this to work!

Now this is the option that a lot of people use. 

You simply create a new blank page called go.php (or any name you prefer) and enter the code into that page: (this is for my campaign, it will NOT work for yours!)

PHP Code:
// ------------------------------------------------------------------- 
  // Tracking202 PHP Redirection, created on Fri Feb, 2011
  // This PHP code is to be used for the following landing page.
  // -------------------------------------------------------------------
if (isset($_COOKIE['tracking202outbound'])) {
$tracking202outbound $_COOKIE['tracking202outbound'];     
  } else {
$tracking202outbound ''.$_COOKIE['tracking202pci'];
header('location: '.$tracking202outbound);


Easy stuff! Now save that file.

The Second option is:

Option 2: Landing Page: Outbound Javascript Redirect Code: This allows you to generate a javascript redirect instead of a PHP redirect. This is useful when you want to use other services like google website optimizers to track the click-through ratios on your landing pages. With the normal PHP redirect you previously could not do this. With the new Javascript Redirect, you can place other javascript tags to fire before processing the javascript redirect.

This option is a bit more advanced. For newbies, stick with the simple PHP option unless you feel that you'd rather start using the JavaScript option.

Here's the code example: (use your own or else you won't be able to track anything!)

<script type="text/javascript">
if (readCookie('tracking202outbound') != '') {
} else {
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 null;

Ok, hopefully that helps a bit.

Now for the next stage...


This is pretty much the final part of creating your campaign. Walk through the options and get everything correct!

If you want to track more variables, use the options below. Please make sure you double and triple check over all of these elements to ensure that you've got everything right BEFORE clicking Generate Tracking Link!

Wasn't that easy?

Remember to make sure you track every campaign you build. You want to be able to tweak your campaigns and be able to get the best ROI (Return on Investment) for each and every campaign you build!

So there's one more step for those who want postback pixels.


This is something you want to speak to your Affiliate Manager about. If they allow postback pixels, great. If not, no biggie... you can ask them what type of postback pixels they allow and they can help you out with that part. 

If you have any questions, please ask away!


Sign in to comment