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.
- In Zapier, create a Zap with a webhook catch.
- Copy the webhook URL from Zapier.
- In AnyTrack, create a webhook and name it.
- Paste the Zapier webhook URL in AnyTrack.
- Select the conversion event you want to send to your partner and save.
- 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.) - Return to Zapier to view the data AnyTrack sent to the webhook.
- In Zapier, add a branch and filter based on utm_source.
- Select the
utm_source
name you want to use. - Verify the filtered result.
- Add a webhook POST action in Zapier.
- Insert the postback URL from your affiliate network partner.
- Map the parameters according to the partner's requirements.
- 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}¤cy={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:
- A user clicks on the affiliate link, which contains the campaign URL you provided to the affiliate network.
- The user lands on your website, and the AnyTrack tag captures the UTM parameters and ClickID from the URL.
- When a conversion event occurs, AnyTrack records the event and sends the data to the Zapier webhook.
- Zapier filters the data based on the
utm_source
(in this case, "impact"). - The filtered data is passed to the Impact postback URL with the appropriate tokens replaced by actual data from the webhook.
- 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.
Updated 10 months ago