I am trying to track my peerfly offers, when I create a direct link under section #8. Get Links and do a test conversion in the back office of peerfly my Prosper202 records it. But I want to track the offer links for landing pages and this won't record for some reason.
So when I generate my landing page code under section #7 Get LP Code I am given some code to put just above </body> to track clicks and I also get an outbound link (offer link) this is the link I need for tracking conversions and LP Click Throughs. This link also works in the peerfly test conversion but prosper doesn't record it at all.
This is starting to piss me off now so I was thinking of using
If you're looking to run a live campaign with real money we highly recommend you use your own custom tracking domain.
The reason we say this is because all of our Noobie users use our default domain (trackvoluum.com) as well as all paid users if they do not change to a custom domain. As a result trackvoluum.com has redirected many millions of visits and because of the volumes it has been flagged by various traffic sources, antivirus software, and other services. As such, not using a custom domain may cause you to lose traffic.
To use my own tracking domain I have to pay $99 per month, I would prefer to spend that money on testing and move to
Ah, it's always annoying when you're trying to get tracking to behave!
What version of Prosper are you using? I assume 1.8.*, in other words the latest one?
Can you go into a bit more detail about how you're setting up your landing pages and campaigns? If you could paste the code here that you're putting in, and tell us where you're putting it (obviously obscure your domain) that'd be helpful too.
We'll get this fixed!
I have created 1 campaign and 2 landing pages:
Each lander points to the same url and use this rotation scripton script:
<?
//Tracking202 Landing Page Rotation Script
//landing pages filenames, theses will be rotated between eachother
//theses landing pages must be in the same DIRECTORY as this file
//you can add as many landing pages here as you like
$landingpage[1] = 'landingpage1.php';
$landingpage[2] = 'landingpage2.php';
//this is the text file, which will be stored in the same directory as this file,
//count.txt needs to be CHMOD to 777, full privlledges, to read and write to it.
$myFile = "count.txt";
//open the txt file
$fh = @fopen($myFile, 'r');
$lpNumber = @fread($fh, 5);
@fclose($fh);
//see which landing page is next in line to be shown.
if ($lpNumber >= count($landingpage)) {
$lpNumber = 1;
} else {
$lpNumber = $lpNumber + 1;
}
//write to the txt file.
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = $lpNumber . "\n";
fwrite($fh, $stringData);
fclose($fh);
//include the landing page
include_once($landingpage[$lpNumber]);
//terminate script
die();
?>
Then I create landing page code for each landing page:
This is the code for clicks:
<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://xxxxxxxx/tracking202/static/landing.php?lpip=759", "upxif");
}(document, "script"));
</script>
Then I am given an outbound link to use for the offer, I put this link onto my CTA button on the lander:
http://xxxxxxxx/tracking202/redirect/go.php?lpip=759 (This link won't track for some reason) This is the link that gives the credit to the specific landing page, if this doesn't track I can't split test my campaign.
I have also created 1 landing page link under get links, I just created this for one of the landers because it tracks the clicks for both landers. I assume I can't have 2 seperate links because they are being rotated, the 2 lander are effectively the same page because of this.
Here is the link:
http://xxxxxxxxxxxxxxxx.com/offer/?t202id=4171&c1={age:}&c2={state:}&t202kw=
This link works and tracks clicks and gives the stats to the correct lander. If I create a direct link in the get links section and use that for the test conversion then it posts back to prosper but I want to use landing pages. I don't know if this is a prosper issue or a peerfly issue, I have contacted my AM but I am just waiting for an answer.
The last link I give is the link I will use in my pof campaign, that link is used to let prosper know where the traffic is coming from.
Prosper202 Version: 1.8.10
I have just changed the rotation script to yours, it works fine:
<?php
$lp = glob("lp_*.php", GLOB_NOSORT);
include_once($lp[rand(0,count($lp)-1)]);;
?>
I am now finding that my test clicks are not tracking, is this because I am visiting the landers too much and prosper is not recording them because my ip has been logged or something?
Make sure to check the spy tab when monitoring clicks and ensure ALL clicks are shown, yours will likely turn up with a red icon indicating filtering.
I haven't touched p202 in some time so it's a bit difficult to grasp where things are going wrong. Either of the rotation scripts is fine, all it does is include() a different file randomly.
Let's summarise the process:
1. Create offer link and ensure it passes subid for tracking using the [[subid]] token. Pass c1, c2 and/or c3 into the affiliate link somewhere as well to provide more info for testing.
2. Create 3 landers files on your server that you will rotate, e.g. landingpage1.php, landingpage2.php, etc.
3. Create a redirect file called something.php that will contain the redirect script that rotates the pages as in (2).
4. In prosper202, add 3 landing pages. For each one, name them accordingly but put their URL as something.php so that each one points to the redirect script.
5. Generate LP codes for each landing page. Get the on-page code for landingpage1.php and paste it on LP1, along with the CTA URL it generates. These will be unique for each lander, so make sure you do this process for each LP independently.
6. Generate a campaign in prosper202 that sends you to one of the landing pages from (2). It won't matter which one since they are all seemingly identical to prosper202 and rotate via the script.
7. Copy the campaign URL and paste it in your address bar in a new tab. Add some query string info e.g. &c1=test&c2=first&c3=please_work.
8. At this point your should connect to an appropriate VPN server if geo-redirection by the affiliate link is a problem. Load the URL and check your spy tab in p202 to ensure the click was detected. Check your campaign stats - does a click to one of the landers appear?
9. Open up your web dev console so that you can see HTTP headers. Click the CTA on your landing page. Watch where it redirects. Does it go to p202 then to the affiliate link? Can you see your c1, c2, subid etc. data passed in the URL as you configured?
10. Check your affiliate network stats. Did this data all appear? Is the numerical subid there? If so, everything is working and a postback will work fine.
Thanks for your help Zeno.
I have change the code to the javascript redirect, then I clicked on the CTA on my lander and used snagit video recorder to record the address bar because my offer link appears for a split second. So I paused it and the subid (which I now know is the database record number that is created as soon as a visitor hits the lander) was present.
I had everything setup right, but using the redirect url from option 1 doesn't pass the subid. The javascript redirect is the one that worked, the php redirect didn't work for me either, just kept going to a blank page.
So relieved to have sorted this but the pain of this has helped me understand tracking. I now have rotation setup, the conversions are working and the stats are being tracked to the correct landing page. It's held me up but I didn't want to do campaigns until I knew I had everything setup properly.
Now I understand tracking and query strings I feel like I am in good shape.
Thanks again
Nice!
A bit weird that the PHP redirect wasn't working - it's usually the most reliable but there are server config issues that can get in the way and are difficult to diagnose if not experienced.
FYI to monitor HTTP headers, hit Ctrl+Shift+K in Firefox > cog to go to settings > tick persistent logs > go back to network tab > this shows all http headers. In chrome hit F12 > network tab > same kind of thing.
Just tried that and I can see the subid pass through easy now.
I have no excudes for messing up tracking now.
Awesome thanks