Frequently Asked Questions
Powered By GitBook
ShareASale Postback URL
Learn how to integrate ShareASale with AnyTrack so you can instantly track and attribute your conversions across your marketing tools, analytics and ad networks.

Get your postback URL

  1. 1.
    Select ShareASale
  2. 2.
    Copy the postback URL
  3. 3.
    Send it to your affiliate manager using the form or by email
  4. 4.
    Request method: POST
ShareASale doesn't have a self-service interface to place the postback URL.

ShareASale Postback URL format:

1
https://t1.anytrack.io/IqbY3nLd/collect?click_id=!!afftrack!!&conversion_type=!!transtype!!&advertiser_id=!!merchantID!!&advertiser_ref=!!orderNumber!!&transaction_id=!!transID!!&total_revenue=!!amountOfSale!!&commission=!!commission!!&conversion_time=!!transDate!!
Copied!

Parameters used in the Postback URL to track conversions

Macro
Possible Values
​
click_id
!!afftrack!!
8qiZTscK1ML5rOebe8YEyq
commission
!!commission!!
23.00
brand_name
!!merchantID!!
213111
transaction_id
!!transid!!
10810238123708
conversion_type
!!transtype!!
sale, lead

Parameters used to append the click_id Value

1
https://shareasale.com/r.cfm?b=1379776&u=1011620&m=41388&afftrack={click_id}
Copied!
Link attributes are used in your HTML code to give additional information about the links posted on your site.
1
<a class="diggera" data-table="top10table" data-action="cta button"
2
data-page="page name" data-brand="lenovo" data-tracking-group="shareasale"
3
data-position="1" href="https://shareasale.com/r.cfm?b=1379776&u=1011620&m=41388"
4
target="_blank"></a>
Copied!
In this example, the link posted is the one provided by the affiliate network. However, since some marketers prefer to use their own redirect URLs to hide the real affiliate links, AnyTrack will recognize the affiliate link according to the attributes given to the URL data-tracking-group="shareasale"
1
<a class="diggera" data-table="top10table" data-action="cta button"
2
data-page="page name" data-brand="lenovo" data-tracking-group="shareasale"
3
data-position="1" href="https://blog.anytrack.io/goto/lenovo"
4
target="_blank"></a>
Copied!
During the click event, AnyTrack will automatically append the correct querystring and parameter afftrack=0a98sd0fas8df0asd8f to the link:
1
https://blog.anytrack.io/goto/lenovo?afftrack=0a98sd0fas8df0asd8f
Copied!
And during the redirect, the query string and parameter will be automatically appended to the real affiliate link:
1
https://shareasale.com/r.cfm?b=1379776&u=1011620&m=41388&afftrack=0a98sd0fas8df0asd8f
Copied!
​
These link attributes allow AnyTrack to tie links with affiliate networks.
Link attribute
Value
data-tracking-group
shareasale
data-label
brandName
data-linkid
brandName
​
Last modified 1yr ago