![]() |
How do I track conversions using Postback URLs? |
![]() |
What is a “Query String”? |
[clickid]
token through in the Primary URL of your tracking link. This will commonly be something like s1
, aff_sub
, or tid
. Every network uses its own preferred name for the click ID. If you don’t know what this is for your network, you can ask their support desk for this information.http://www.clkmg.com/api/s/post/?uid=$userid&s1=&amt=0.00&ref=
0.00
value with the commission token that your network uses, and set the s1=
variable to the Sub-ID variable you passed the [clickid]
to in your Primary URL.“How do I pass a click ID (or tracking ID) to the network with my affiliate link, and what tokens should I use in my Postback URL to return the click ID and commission amount?”
aff_sub
variable and that the click ID is returned in the Postback URL using the {{TRACKID}}
token. Suppose they also tell you to use the {{COMM}}
token to return the commission value in the Postback URL.https://www.myaffiliateprogram.com/...?aff_sub=[clickid]
s1=
value to {{TRACKID}}
and set the amt=
value to {{COMM}}
, like this:http://www.clkmg.com/api/s/post/?uid=$userid&s1={{TRACKID}}&amt={{COMM}}&ref=
[clickid]
in to the network using the variable name they require, and you insert the Postback URL tokens properly in your generic ClickMagick Postback URL, you should be good to go!