Tracking SubIDs

Jcraig83

Greenbacks
May 5, 2010
274
5
0
I am experimenting with using a landing page with a Plenty of Fish campaign and I'm a bit confused on how I can track my subids.

So my flow is PoF Ad -> 1 Page Lander -> Offer

How would I set it up so I know which PoF ads are converting? I know how to track direct links, I just make a unique subID per image, I just can't figure out how to do it with a lander in between ad and offer.

Thanks in advance for your help!
 


from PoF: http://yourpage.com/?sid=one
then on your lander at the top you can use
<?php
$sid = $_GET['sid'];
?>

and wherever your link is on the page:

<a href="http://youraffnetwork.com/?sid=<? echo $sid; ?>">Link</a>
 
Also if my URL format is "www.mypage.com/lander.htm" how do you attach the subid text? "www.mypage.com/lander.htm?sid=" ?
 
Also if my URL format is "www.mypage.com/lander.htm" how do you attach the subid text? "www.mypage.com/lander.htm?sid=" ?

You can put the php anywhere before your link, but I prefer just to place it before everything so it would look like:
<?php
#code
?>
<html>
etc.

and yes "www.mypage.com/lander.htm?sid=" would work although it will need to be lander.php to utilize the php code. So just rename lander.htm -> lander.php
 
You are a genius! I edited it all and now whenever I float over my button on my lander it shows my affiliate link with the subid at the end.

My links look really ugly and long, but at least I can track where my clicks/conversions are coming from.
 
:)
If you want to reduce the appearance of your aff link you can create another folder (i.e. "folder1") within that same directory and have a 'index.php' within the "folder1" which redirects to your aff offer.

so your landing page link would look like:
<a href="folder1/?sid=<? echo $sid; ?>">LINK</a>

then in your "folder1/index.php" you would capture the sid like you did on your landing page originally with a
<?php
$sid = $_GET['sid'];
header("Location: http://yourafflink.com");
?>

and that will redirect to your offer and not look so ugly on the hover ; )