Custom Integrations

Learn how to integrate AnyTrack with any conversion sources such as CRMs, affiliate networks or eCommerce platforms.

AnyTrack already supports a large variety of integrations that you can find in the Integration Catalog. And while we integrate new platforms on a regular basis, you can leverage the custom integration to track any third party platforms.

🚧

Limited Support for Custom Integrations

We currently do not offer setup support for custom integrations not listed in the Integration Catalog. Any guidance provided in our documentation for such integrations is to be used at your own risk and may no longer be updated or maintained.

❗️

Prerequisites:

  1. You should be familiar with Postback Tracking, Webhooks, basic html and javascript
  2. The platform you want to integrate should should be able to fire webhooks or can connect with Zapier.
  3. You should use the recommended standard Event Attributes
  4. The Platform you want to integrate must be able to collect a tracking parameter (click_id) during the form submission, outbound click, or when a product is added to the cart.
    1. subid parameter added to a link
    2. Custom field added to a form

Important tracking concept

Anytrack tracks conversions via both client side and server side data collection end points, but all conversions start with a web event such as PageView, Form submission, OutboundClick.

As a general rule you should ALWAYS keep in mind that the clickid generated during the web event, is the reference that will be used to track the conversion.

User actionAnyTrack actionsAffiliate Program Actions
Clicks on ad--
lands on your landing pageSession starts, url and utm ad
parameters are collected
and stored
-
clicks on affiliate linkOutbound click event is automatically
tracked and the anytrack clickid
is passed to the affiliate link
subid=uniqueClick_idValue
user lands on affiliate offer page -collects the visit + parameters,
affiliate id, subid=uniqueClick_idValue
User converts -Tracks the conversion and
fires the AnyTrack postback
with the stored uniqueClick_idValue
postback url is called anytrack?click_id=Click_id&value=10&brand=nike
  1. During the web event, the AnyTrack automatically generates a click_id value and substitutes the AutoTag token present on your links and forms (Token: --CLICK-ID--
  2. The click_id value must be collected by your integration (ex: an affiliate link or a form).
  3. For the click_id to be collected and stored by your integration, you must append a tracking parameter to the affiliate link. yourlink?subid=--CLICK-ID--
  4. Subid parameters are not negotiable. It's enforced by the receiving party (the affiliate network), unless you are told that you can create your own custom parameter. Herea re some examples of affiliate networks subid parameters:
    1. Clickbank: tid
    2. Impact: subId1
    3. CJ Affiliates sid
    4. Hasoffers / tune: aff_click_id
    5. Everflow: sub1 to sub5

The AnyTrack ClickID parameter is automatically generated by AnyTrack and appended to forms and urls present on the web page. Learn more about AutoTag and how it works.

Step by step guide

Before you get started, make sure you know what is the subid parameter you can pass to your offer link, and what is the token you can use in the AnyTrack postback url.

  1. Go to the Integration Catalog

  2. Add a new Integration

Click on ADD INTEGRATION
  1. Search And select the Custom Integration

Click on Custom
  1. Now Install the Integration and follow the steps

Click on INSTALL INTEGRATION
  1. Fill the fields with the required placeholders

This information should be provided by the platform you wish to integrate with. If you're not familiar with postback URLs or webhooks, please refer to this article.

Fill the fields with the required placeholders
  1. Click on SAVE

Click on SAVE
  1. Copy your Webhook URL and paste it into your integration

You should find out where to add Webhooks within your conversion source (CRM, eCommerce, etc...).

πŸ‘

Pro tip:

You can modify the webhook by adding more Event Attributes in order to enrich the data sent to ad platforms' pixels and Conversion API.

Copy your Webhook URL and paste it in your integration
  • Add more parameters to your Webhook
    Adding additional parameters is highly recommended, as it will improve your attribution and feed your ad pixels with more data to optimize your ads. Learn more about Event Attributes.
  • Matching Parameters
    The following parameters are also supported for better audience matching and attribution. Those values are hashed, standardized and processed to be forwarded to Facebook Conversion API or Google Enhanced Conversions
ParameterTypeExampleNotes
emailstring[email protected]
firstNamestringJohn
lastNamestringSmith
fullNamestringJohn SmithUsing this field will automatically fill first and last name fields
phonestring+1 (650) 555 4444Including country code and area code
birthdatestringMay 26, 1991 or 1991-05-26
citystringMenlo Park
statestringCATwo-letter state or province code
zipcodestring94025Zip or Postal Code
countrystringUS or United States

πŸ‘

Good to Know

There is NO need to hash the data. AnyTrack automatically formats and hashes the data for you when sending it to the pixels.

Recommendations

In some instances, the apps you will want to integrate can only pass arbitrary query parameters to the AnyTrack Webhook URL.

For example, Hubspot, Mailchimp or Salesforce have their payload structure, which cannot be modified. In this case, we recommend using Zapier or Make(previously called Integromat) to "catch" the webhook from your integration and post it to the AnyTrack Webhook following our Query Parameters structure. Learn more about Webhooks.

Video: Creating a General Purpose Webhook Endpoint on AnyTrack!

In this video, you'll learn how to create a custom integration in AnyTrack that provides you with a webhook endpoint to send data directly to your account. We'll walk you through the Event Attributes you need to include and show you how to properly configure the POST call for smooth and accurate data tracking.