AnyTrack docs
🔗 Website🖐 Feature Requests⚙ Integrations👉 Sign up
  • Getting Started
  • Archive
  • docs
    • Advanced Settings
    • Elementor
    • Integrations
    • Taboola Integration
    • AnyTrack Guide to Conversion Tracking
    • The AnyTrack Tracking Code
    • Account Setup Tutorial
    • ⚒️Pixel & Analytics Integrations
    • Getting Started with AnyTrack
    • AnyTrack Core Features & Concepts
    • Conversion logic
    • AutoTrack
    • AutoTag copy from readme
    • AutoTag from Gitbook
    • AnyTrack Initial Setup
    • Google Tag Manager
    • Google Analytics integration
    • Enhance ROI: Facebook Postback URL for Affiliates
    • Facebook Conversion API and iOS 14 tracking restrictions
    • Affiliate Link Tracking
    • Form Submission Tracking
    • Form Tracking / Optins
    • Analytics & Reporting
    • Webhooks
    • Trigger Events Programmatically
    • Custom Events Names
    • Trigger Postbacks Programmatically
    • Redirectless tracking
    • Cross-Domain Tracking
    • Event Browser & Debugger
    • Fire Third-Party Pixels
    • Multi-currency
    • Frequently Asked Questions
    • Affiliate Networks Integrations
    • Partnerize integration
    • Affiliate Networks link attributes "cheat sheet"
    • Postback URL Parameters
    • ClickBank Instant Notification Services
    • Tune integration (AKA Hasoffers)
    • LeadsHook Integration
    • Frequently Asked Questions
    • Shopify Integration
    • Custom Affiliate Network Integration
    • Impact Postback URL
    • ShareAsale integration
    • IncomeAccess
    • HitPath
    • Phonexa
    • CJ Affiliates Integration
    • AWin integration
    • Pepperjam integration
    • Google Ads Integration
    • 💡Bing Ads server to server tracking
    • Outbrain Postback URL
    • Google Analytics Goals
    • External references & links
    • Google Ads Tracking Template
    • Google Analytics Goal Template
    • Affiliate network integration request
    • Troubleshooting guidelines
    • Convertri Integration
    • ClickFunnels Integration
    • Unbounce Integration
    • How AnyTrack works with link trackers plugins
    • Thirsty Affiliates
    • Redirection
    • Pretty Links Integration with AnyTrack
    • Difference between Search terms and search keyword
    • Facebook Server-Side API (legacy)
Powered by GitBook
On this page
  • Get your postback URL
  • ShareASale Postback URL format:
  • Postback URL parameters
  • Parameters used to append the click_id Value
  • Link Attributes
  1. docs

ShareAsale integration

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. Select ShareASale

  2. Copy the postback URL

  3. Send it to your affiliate manager

  4. HTTP Request method: POST

ShareASale doesn't provide a self-service interface to set your the postback URL.

ShareASale Postback URL format:

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!!

Postback URL parameters

Query parameter
Macro
Example Values

click_id

!!afftrack!!

8qiZTscK1ML5rOebe8YEyq

commission

!!commission!!

23.00

brand_name

!!merchantID!!

213111

transaction_id

!!transid!!

10810238123708

conversion_type

!!transtype!!

sale, lead

Good to know

The Postback parameters are listed here for information purpose. The ShareAsale Postback URL is provided with built-in parameters and macros so you can simply copy/paste the URL as provided in your AnyTrack account.

Parameters used to append the click_id Value

https://shareasale.com/r.cfm?b=1379776&u=1011620&m=41388&afftrack={click_id}

Link Attributes

Link attributes are used in your HTML code to give additional information about the links posted on your site.

<a class="diggera" data-table="top10table" data-action="cta button" 
data-page="page name" data-brand="lenovo" data-tracking-group="shareasale" 
data-position="1" href="https://shareasale.com/r.cfm?b=1379776&u=1011620&m=41388" 
target="_blank"></a>

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"

<a class="diggera" data-table="top10table" data-action="cta button" 
data-page="page name" data-brand="lenovo" data-tracking-group="shareasale" 
data-position="1" href="https://blog.anytrack.io/goto/lenovo" 
target="_blank"></a>

During the click event, AnyTrack will automatically append the correct querystring and parameter afftrack=0a98sd0fas8df0asd8f to the link:

https://blog.anytrack.io/goto/lenovo?afftrack=0a98sd0fas8df0asd8f

And during the redirect, the query string and parameter will be automatically appended to the real affiliate link:

https://shareasale.com/r.cfm?b=1379776&u=1011620&m=41388&afftrack=0a98sd0fas8df0asd8f

These link attributes allow AnyTrack to tie links with affiliate networks.

Link attribute

Value

data-tracking-group

shareasale

data-label

brandName

data-linkid

brandName

PreviousImpact Postback URLNextIncomeAccess

Last updated 1 year ago

This is a link

shareasale