# Track Conversions with Zapier

> Learn how to track conversions on AnyTrack.io using Zapier webhooks. Step-by-step guide to integrate and optimize conversion tracking. Boost your campaign insights and ROI.

Zapier webhooks connect AnyTrack with your favorite apps. This guide walks you through setting up Zapier webhooks to enable server-side tracking without complex integration work. Achieve precise and reliable conversion tracking.

<Image
  align="center"
  className="border"
  border={true}
  src={readmeAsset1}
/>

## The Click ID: Key to Conversion Tracking

The AnyTrack Click ID is the unique identifier that connects your website, app, and AnyTrack. This guide shows how to use Zapier to send conversions to AnyTrack with the crucial Click ID.

This guide is for integrations not natively integrated with AnyTrack. Check the Integration Catalog to see if your app is already integrated or request a new one if needed.

## Prerequisites

1. A website with the AnyTrack tracking tag in the `head` section
2. An app (or form provider) configured to receive the AnyTrack click ID
3. An app that can fire webhooks to Zapier or send event data via native integration

## Step 1: Configure Your App to Store the Click ID

1. **Create a custom field** in your app to pass tracking data:
   - Field Name: `atclid`, `click_id`, or `clickid`
   - Field Default value: `--CLICK-ID--`
   - Field label: `click_id`, `clickid`, or `atclid`
   - Field value type: `text` or `string`
   - Field display: `hidden`
   - Field required: Not required (if browser blocks JS, AnyTrack cannot pass the `clickid` value)

2. **Update your form** to add the custom field so the AnyTrack click ID passes during submission

3. **Include Click ID in Webhook Data** - normally sent automatically to the webhook URL, but verify it is actually sent

Note: Not all form providers support hidden fields or capture tracking parameters. Verify with your provider.

## Step 2: Create a Conversion Source in AnyTrack

1. Log into your AnyTrack dashboard
2. Create a Conversion Source and select **Custom**
3. Get the Postback URL (receives data from Zapier including Click ID)

## Step 3: Configure Zapier to Send Data to AnyTrack

1. Log into your Zapier account
2. Create a new Zap
3. Choose the Trigger App (select your app if integrated with Zapier or use Webhook)
4. Set up the trigger by selecting the event that triggers the Zap
5. Choose the action app as **Webhooks POST**
6. Paste the Postback URL while removing query parameters including the question mark

**Pro tips:**
- Use Branch & Conditions to send conversions to AnyTrack based on trigger data (e.g., if Event name = Form Submitted, send `Lead` Event to AnyTrack)
- Enrich Conversion Data with as many Event Attributes as possible to improve attribution and match rate

7. Map the AnyTrack parameters to values collected through the Zap trigger

Note: The mapping example shows standard Event Attributes. Your values depend on data collected from your form.

<Image
  alt="Parameter mapping between Zapier and AnyTrack Postback URL"
  align="center"
  className="border"
  border={true}
  src={readmeAsset2}
 caption={"Parameter mapping between Zapier and AnyTrack Postback URL"} />

8. Test the Zap by going through your funnel from a fresh browser window
9. Inspect the AnyTrack event log to verify conversion data
10. Activate the Zap to start sending conversions to AnyTrack

## Conclusion

The AnyTrack Click ID unlocks precision in conversion tracking. Guide conversions from your website through Zapier to AnyTrack with pinpoint accuracy.

When conversions are tracked, they automatically send to your ad platform's Conversion API in real time.

## Related Resources

- [SamCart Integration via Zapier](/docs/samcart-via-zapier)
- [Elementor via Zapier Webhook](/docs/elementor-zapier-webhook)
- [Install AnyTrack Tag](/docs/install-anytrack-tag)

<FaqAccordion
  title="Frequently Asked Questions"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "The Click id is not recorded during the form submission.",
      answer: "This can happen when the form is generated via Javascript. If this is the case refer to the <a href='/docs/external-id-as-click-id'>External ID as Click ID</a> article that allows you to map the AnyTrack <code>click_id</code> with an external id generated by your app."
    },
    {
      question: "The Clickid is not sent in the Zap trigger event.",
      answer: "Try adding a Webhook integration instead of the native app. The process is the same, but webhooks generally include more granular data."
    },
    {
      question: "I get an 'unknown click id value' in the event log.",
      answer: "This means that either the AnyTrack clickid isn't passed to your form, or that you've mapped the wrong value to the AnyTrack Postback URL."
    }
  ]}
/>
