What Are Postbacks?
Postbacks are HTTP notifications that OnlyTraffic sends to your server or tracking platform when specific events occur — like a new subscriber joining or a transaction happening. They let you track conversions in real time without manually checking the dashboard.Setup Levels
You can configure postbacks at two levels:
Campaign-level postbacks take priority over account-level settings when both are configured.
To set up default postbacks, go to your account settings. To configure campaign-level postbacks, edit the specific campaign.
Available Events
new_subscriber
Fired when a new fan subscribes through your campaign.
new_transaction
Fired when a fan makes a purchase (tip, paid message, paid post, subscription, resubscription, or stream).
marketing_stop
Fired when a campaign or CPL order is stopped (completed, cancelled, or paused).
URL Template & Macros
Build your postback URL using macros that get replaced with actual values when the event fires.Event Macro
Campaign Macros
Subscriber Macros
Available fornew_subscriber and new_transaction events:
Transaction Macros
Available for thenew_transaction event:
Click Macros
Available when using OT Tracking Links or Smart Links:HTTP Methods
Custom Headers
You can add custom HTTP headers to your postback requests. This is useful for:- Authentication tokens (e.g.,
Authorization: Bearer your_token) - Content type specification (e.g.,
Content-Type: application/json) - Any custom headers your tracking platform requires
Example Postback URLs
Testing Postbacks
You can test your postback configuration before going live:1
Set up your postback URL
Configure your postback URL with the desired macros.
2
Click Send Test
Use the Send Test button in the postback configuration form. The system will send a test request with sample data to your URL.
3
Verify receipt
Check that your server or tracking platform received the test postback and parsed the parameters correctly.
Postbacks work best with OT Tracking Links that support the
click_id parameter. This allows you to match each conversion back to the exact click in your external tracker.