This feature allows you to send subsequent postbacks to your Traffic Source after an initial conversion, thereby enabling you to work in a revenue share model. These extra postbacks are sent after receiving an event from you, but only if certain conditions are met.
Enable the feature
Before you start sending events to Opticks, you should configure your Campaigns and Traffic Sources accordingly.
- Go to your Campaign and check the option
Post Conversion Events
. If you are creating a new campaign you will have to select the Traffic Source before you are able to check this option. - Go to your Campaign's Traffic Source and fill the
Post Conversion Postback URL
with your source's post conversion postback URL.
In this field you can add any Opticks macro:
{txId}
{payout}
{subpublisher_id}
{hitId}
{trafficsource_id}
You can also add any macro you have sent to Opticks' event endpoint as a parameter.
Don't forget to add the {external_id}, this is your Traffic Source's internal visit id.
API endpoint
When the above two steps have been completed you can start sending events to Opticks.
To do so you have to make a GET
or POST
request to the following URL:
https://track.opticks.io/event?hitId={opticks_click_id}&txId={your_tx_id}&foo=bar
Please make sure that txId is replaced with a transaction id of your own.
Opticks will only send one post conversion postback for each unique hitId
and txId
pair.
N.B. Opticks will respond with a 200 OK
if your event has been registered. As postbacks are not processed in real time, Opticks will respond with a 200 OK
even if the hitId
and txId
pair is not unique or the hitId
doesn't exist. It is your responsibility to keep requests unique and use valid click ids.
Comments
0 comments
Please sign in to leave a comment.