How do postbacks work ?

hitthefloor

Regular Member
Joined
Aug 9, 2017
Messages
401
Reaction score
102
Is there anyone wise who could explain me how do they work,
as far as i understand, networks pings url to your site when conversion is made?

thisismysite.com/maybesomepage/postbacklistener.php?affsub=data?payout=data

So the postback listener should get values from url and do something right ?

What if some "nerd" would be pinging url for abusive activities ?
 
Pro tip: Postbacks aren't supposed to be handled by you, they're supposed to be handled by the AMs and their tech team.

I spent months in confusion about this before.

The postback pixel just credits you with whatever conversion happens on that sales page. The data provided after those ? marks is plugged directly into their tracking system.

Hope that answers your question.
 
The thing is that i will be in need to handle them, my project I'm working on should return aff sub and payout from every aff network after conversion is made, yet every link has a user attached to it, aff_sub=username and blah blah.. lots of stuff to be done yet, however the hardest part is already made, indeed thank for your time, I think we a bit misunderstood each other, have a great time!
 
<?php

$db = mysqli_connect('localhost', 'root', '', 'registration');
$username = mysqli_real_escape_string($db,$_GET['affsub']);
$payout = mysqli_real_escape_string($db,$_GET['payout']);


echo $username;
echo "<br>";
echo $payout;

?>

Just a simple script to test things out, gets variables from url, yet its empty, haven't got time to start integrating aff networks.
 
you want to setup a sub-network, right?
So "Username" is the Username or ID-number of your traffic-source or publisher.
If so: YOU post the Advertiser/Network this ID like:
thisismypromotionlink.com/which_i_created_in_my_system?and_my_system_send_the_"username"_of_my_source_to_the_network_with_[affsub]="username"(for example: User123)

The network send you this information incl. the lead/sale action back to you postback URL

thisismysite.com/maybesomepage/postbacklistener.php?affsub=User123?payout=1Mio_USD
 
Back
Top