How to Mod Prosper202 - fire multiple pixels

MakeDaMoney

Shaking my Money Maker
Apr 14, 2009
127
1
0
A palace
Hey Guys,

I know this is Prosper202 stuff but was hoping one of you guys already do this as it would seem common enough.

Any mods out there to fire off multiple pixels...i.e. POF, GWO, PPC, etc when the Prosper202 pixel fires?

I know guys do it, just cant find any info posted that details how to.
 


Sure when you send a javascript file to the offer to fire but if you are looking to fire multiple pixels behind P202s gpx.php or gpb.php I had a hard time coming up with a solution.
 
ive done it but its been a while. Basically you just use curl to make a http request.

Here's how you would fire you own prosper postback with a specific subid in $sub

$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'http://server.com/tracking202/static/gpb.php?amount=&subid=' . $sub);
curl_exec($curl_handle);
curl_close($curl_handle);


so add some code in i think the gpx.php or gpb.php to check where the other postback should be fired and if so, use that curl code to do it, substituting in the correct postback url.


edit: oh sorry, pixels not postbacks, ok then yeah I would just add all of my pixels to the html block instead of just the single pixel. I'll leave the other stuff in case anyone wants to know how to fire a postback.
 
The problem with this is if the code is based off of cookies on the clients side (which alot are) the code is being fired by curl on the server side which wouldn't track those cookies properly.

edit - my bad... you are looking at subids and not cookies.
 
ok my bad again. You specifically want prosper to fire the other pixel, when its pixel is fired.

Why not just add both pixels? why make prosper do it? I mean, you could do that with curl, just like the postback example i posted. You could also make a php file that outputs both pixels (prosper and others) and is what you post as your pixel if the network software only takes a single url for the pixel and not an html block.
 
For my specific situation, the client would only allow my prosper pixel and nothing else but I am not working with them anymore so its no big deal now. Not sure what exactly MakeDaMoney was intending.

Thanks for the help though.
 
ok my bad again. You specifically want prosper to fire the other pixel, when its pixel is fired.

Why not just add both pixels? why make prosper do it? I mean, you could do that with curl, just like the postback example i posted. You could also make a php file that outputs both pixels (prosper and others) and is what you post as your pixel if the network software only takes a single url for the pixel and not an html block.

Do you have an example of what the code would look like?
 
Are you trying to fire multiple pixels at once (i.e. fire a source pixel such as AdWords + fire a custom analytics pixel), or do you only need to fire a single pixel (i.e. if traffic comes from AdWords, fire the AdWords pixel. if traffic comes from POF, fire the POF pixel)?
 
The code for this would be great. Been trying to do it myself but can't code for shit
 
Do you have an example of what the code would look like?
I haven't tried that but try creating a html file and add two pixels in it,pof and prosper for example.Then select iframe option (talking about linktrust) when you are adding the pixel and enter the url of your html file.
 
I haven't tried that but try creating a html file and add two pixels in it,pof and prosper for example.Then select iframe option (talking about linktrust) when you are adding the pixel and enter the url of your html file.

this, you can either add both to the html block (if the network supports that) or you can add a url that spits them both out (if you can only add a single url to the network).
 
Use curl as previously mentioned. Some networks such as Maxbounty only allow you to add a single tracking pixel/url. Just enter the url of your php script into the maxbounty interface. Then in the php script grab the subid using $_GET['whatever'] then call whatever tracking urls you want from there using curl. i.e.

curl_setopt($curl_handle,CURLOPT_URL,'http://tracking202.com/gpb.php?amount=&subid='.$_GET['whatevermysubidis']);

Might want to add some strip tags functions to secure the code.
 
If you want to fire multiple pixels, do this. This is your placed pixel:

<script src="http://www.trackingdomain.com/pixel.js" /></script><noscript><IMG height="1" width="1" border="0" style="display: none;" src="http://www.trackingdomain.com/tracking202/static/gpx.php?amount=" /></noscript>

The <noscript> tag will allow your Prosper Pixel to fire no matter what.

In pixel.js you enter the following:

//prosper pixel
document.write('<img height="1" width="1" border="0" style="display: none;" src="http://www.trackingdomain.com/tracking202/static/gpx.php?amount=" />');
// pof pixel
document.write('here');
// some pixel
document.write('here');
 
If you want to fire multiple pixels, do this. This is your placed pixel:

<script src="http://www.trackingdomain.com/pixel.js" /></script><noscript><IMG height="1" width="1" border="0" style="display: none;" src="http://www.trackingdomain.com/tracking202/static/gpx.php?amount=" /></noscript>

The <noscript> tag will allow your Prosper Pixel to fire no matter what.

In pixel.js you enter the following:

//prosper pixel
document.write('<img height="1" width="1" border="0" style="display: none;" src="http://www.trackingdomain.com/tracking202/static/gpx.php?amount=" />');
// pof pixel
document.write('here');
// some pixel
document.write('here');

Thats exactly what I am doing for all my pixels and they all work GREAT. What a better way to do things.

I am going to be adding my GWO code on Monday. How do you go about adding that?

Code:
<!-- Google Website Optimizer Tracking Script -->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['gwo._setAccount', 'UA-XXXXXXXXX-1']);
  _gaq.push(['gwo._trackPageview', '/XXXXXXX/goal']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
<!-- End of Google Website Optimizer Tracking Script -->