Custom Conversion Source
Learn how to create a custom integration with AnyTrack to track and measure conversions from any source.
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.
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.
Good to know:
A conversion source is where the conversion takes place - a partner website, affiliate network, e-commerce platform, CRM, a course platform, etc.
Option #1 Server Side integration
If you're not familiar with the difference between Server Side and Client Side Tracking you should read more about server side tracking
.
Prerequisites:
- 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.
Client-side tracking
Check out the next tutorial about how to trigger standard events
To activate client side tracking you need to set the AnyTrack Tag on your website, and add the Event Snippet where you'd like to trigger the events.
For example, if you want to trigger a Lead event when a user reaches a "thank you" page, you'd want to add the following snippet on the thank you page.
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>
Standard Events
You can change the event name with any of the [doc:standard-events] names.
What shall I do if I am not a programmer?
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:
- Navigate to the property settings
- Open the autoscan tab.
- Search the page where the element you'd like to track is.
- Decide which element or page you would like to mark as an event.
- 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 Facebook Pixel / api and Google Ads via API according to your settings.
Updated 7 months ago