Skip to content

Custom Conversion Source

Learn how to create a custom integration with AnyTrack to track and measure conversions from platform that are not natively integrated in the AnyTrack catalog.

Connecting your conversion source with AnyTrack is essential in order to track conversions.

In case that you don’t find your conversions source integration in our catalog, select the custom conversion source available in the catalog.

If you’re not familiar with the difference between Server Side and Client Side Tracking you should read more about server side tracking

.

  • You need a webhook url from Zapier or Integromat - Learn more about [doc:webhooks].
  • Generate a ClickID for your product links: our tracking method is based on creating ClickID for tracking the events on your website. By inserting the AnyTrack Tag into your website, AnyTrack will generate a clickId automatically.

This is an example of the “Lead” event snippet:

More examples of event tracking snippets are available in the custom event tracking article.

<script>
// trigger a lead event
var click_id = AnyTrack('trigger', 'Lead');
</script>

Or an OutboundClick followed by a redirect

<script>
<button type="button" onclick="handleBuyMe">Buy Me</button>
<script>
function handleBuyMe() {
var click_id = AnyTrack('trigger',
'OutboundClick');
window.location =
'https://some-store.com/?sub1=' +
encodeURIComponent(click_id);
}
</script>

If you’re not a programmer, the AutoScan function enables you to “click & define” your tracking settings, without writing a line of code.

How to use the AutoScan function:

  1. Navigate to the property settings
  2. Open the autoscan tab.
  3. Search the page where the element you’d like to track is.
  4. Decide which element or page you would like to mark as an event.
  5. Pick the relevant event name from the drop down menu.

Once you’ve updated the elements, AnyTrack will automatically track them and forward them to your Meta Pixel / api and Google Ads via API according to your settings.