• Welcome to affLIFT!
    We are happy you have decided to check out our awesome affiliate marketing forum. Register your account today to join our amazing community!
  • Looking for a free tracker? Skro provides 250,000 free events per month. Track, analyze, and optimize your ad campaigns with one tracker!
    Try Skro Today!

Guide Global postback PHP script (with 🔥 500 000 free tracker events)

1win

dood

🚀
Staff Member
Community Leader
Joined
May 2, 2018
Messages
2,946
Inspired by Nick’s CloudFlare Worker Piggyback script, a while ago I decided to make my own PHP version of the script. I use this script when I want to test new trackers on the market, and I don’t want to change the postback URL-s on affiliate networks.

This way I can have one global postback URL for all my trackers. If I want to add or test a new tracker, I just add the tracker postback URL to a PHP script (and not on an affiliate network).

The standard way affiliates implement postback is like this:

hBdreF6tYnXvXefZdqQXwgYY-UK5PkW2vuKtrZqa7oXpy57lirRBFwnf7fX2FgVMKnQqPxJc0aY9_Bj7bensgs-8UrrdA9bLBpfts-DvqKuo4hjCcdoohUvO_KIpn9IM7fkElqBFuuHc7CDxLaoX8aA


So you have your tracker postback URL set under affiliate networks settings. This will do fine 99% of the time if you are using only one tracker (which most people do).

But in case you want to test multiple trackers and you can only put one postback URL in your affiliate network settings, then you need a workaround solution.

This is how I implemented this:

FZZr1QieEC_xKXUO-wNb3ELeIjH4YBxUoOeDjd4JP4DosEE_W4Z1ApryfuOw5QtTO1A9JvKHBI25OMl_Mxx7UwD2nge1SHQRZW96GipS3l-UGJ91gKj3bFqOLNy_Nu1fNy9FCQuirHTl_sB9CIEsv-c


I still have 1 postback URL in affiliate network settings but this time it’s not the postback URL from a single tracker - it’s my own script (which then “redirects” the
 

Attachments

  • postback.zip
    1.2 KB · Views: 141
Last edited:
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Top