How to Use AnyTrack to Send Conversions to Affiliate Networks

Learn how to use AnyTrack to send conversions to affiliate networks and track your performance accurately. Increase ROAS and optimize your marketing stack with this guide.

This guide is designed for AnyTrack customers who are merchants and work with affiliate networks. Learn how to set up AnyTrack to send conversion data to your affiliate network partners in real time. This will help you manage your traffic and compensate your partners for conversion events.

โ—๏ธ

Reminder:

This setup requires some technical knowledge and the ability to work with webhook providers like Zapier, or Make (formerly known as Integromat). If you're not familiar with Webhooks please forward this guide to someone that can do the job.

Prerequisites:

  • Ensure the AnyTrack tag is installed on your website.
  • Set up conversion tracking in AnyTrack.
  • Utilize UTM parameters to identify the affiliate network and the campaign you run with them.
  • Your partner provided you with their Postback URL with the required documentation to pass back the conversion data.

UTM Parameters:

  • utm_source: Affiliate network name
  • utm_medium: Preset to "referral"
  • utm_campaign: Fill with "offer_id" or "campaign_id" from the affiliate network
  • utm_content: Fill with "offer_name" or "promotion_name"

Partner Postback URL

  • ClickID parameter: Use the syntax 'x' + first two consonants of the partner name + 'clid' (e.g., MyAffiliate Network = xmfclid)
  • List of the tokens that can be passed to the postback url such as transactionId, event_name, value, currency.

Getting started

โ—๏ธ

Good to know: This setup implies that you are currently tracking conversions in AnyTrack. If you're not yet tracking conversions, you can stop this setup, as conversion data first needs to be tracked in AnyTrack before it can be sent to your partner.

  1. In Zapier, create a Zap with a webhook catch.
  2. Copy the webhook URL from Zapier.
  3. In AnyTrack, create a webhook and name it.
  4. Paste the Zapier webhook URL in AnyTrack.
  5. Select the conversion event you want to send to your partner and save.
  6. Send a test event to Zapier:
    a. In Zapier, click "Test."
    b. Test the conversion flow as if you clicked from your partner link. (Important: Capture all relevant parameters, especially the partner ClickID.)
  7. Return to Zapier to view the data AnyTrack sent to the webhook.
  8. In Zapier, add a branch and filter based on utm_source.
  9. Select the utm_source name you want to use.
  10. Verify the filtered result.
  11. Add a webhook POST action in Zapier.
  12. Insert the postback URL from your affiliate network partner.
  13. Map the parameters according to the partner's requirements.
  14. Save your settings.

Your AnyTrack setup is now complete and will send conversion data to your affiliate network partners in real-time. This will help you manage your traffic and compensate your partners for conversion events.

Examples: Data Flow and URL Structure

In this section, we will provide examples to help you understand how data flows between your website, AnyTrack, and the affiliate network, using a sample campaign URL and postback URL.

Campaign URL:
The campaign URL you provide to the affiliate network should contain all the necessary UTM parameters and the ClickID parameter. In this example, we use the Impact affiliate network.

https://anytrack.io/partner?utm_source=impact&utm_medium=referral&utm_campaign=tracking+offer&utm_id=impact_0987&irclid={replacewithclickid}

In this example:

  • utm_source=impact identifies the affiliate network as Impact.
  • utm_medium=referral sets the traffic medium as "referral."
  • utm_campaign=tracking+offer contains the campaign or offer ID.
  • utm_id=impact_0987 represents a unique identifier for the campaign.
  • irclid={replaceWithClickId} is the ClickID parameter from Impact.

Impact Postback URL:
The postback URL provided by the affiliate network (in this case, Impact) should contain tokens for the data points you want to pass back. These tokens will be replaced with actual data from the AnyTrack webhook.

Example Impact Postback URL:

https://postback.impact.com/data?irclid={replacewithclickid}&transaction_id={transactionId}&revenue={revenue}&currency={currency}

In this example, the tokens are:

  • {replaceWithClickId}: ClickID from the original campaign URL, which will be replaced by the actual ClickID value.
  • {transactionId}: The transaction ID of the conversion event.
  • {revenue}: The revenue generated from the conversion event.
  • {currency}: The currency used in the transaction.

Data Flow:

  1. A user clicks on the affiliate link, which contains the campaign URL you provided to the affiliate network.
  2. The user lands on your website, and the AnyTrack tag captures the UTM parameters and ClickID from the URL.
  3. When a conversion event occurs, AnyTrack records the event and sends the data to the Zapier webhook.
  4. Zapier filters the data based on the utm_source (in this case, "impact").
  5. The filtered data is passed to the Impact postback URL with the appropriate tokens replaced by actual data from the webhook.
  6. The affiliate network receives the postback URL with the conversion data and records the conversion.

This example illustrates how data flows between your website, AnyTrack, and the Impact affiliate network to track and report conversion events.