# SamCart Integration via Zapier

> Set up Samcart Via Zapier conversion tracking with AnyTrack to track purchases, cart events, and revenue. Connect your store data to ad platforms for accurate attribution and ROAS optimization.

## Introduction

You can integrate SamCart with AnyTrack using either a direct webhook or Zapier—depending on your SamCart plan.

* SamCart Scale and Enterprise plans support native webhook integrations, allowing you to connect AnyTrack’s webhook URL directly within SamCart.
* All SamCart plans support integration via Zapier, enabling you to send order data to AnyTrack without relying on built-in webhook access.

Since AnyTrack’s SamCart integration is based on a simple webhook URL, it works automatically in both setups. Whether you’re on a Starter or Enterprise plan, you can reliably track conversions and sync them with AnyTrack using the method that fits your stack.

***

<Prerequisites
  title="Before you begin"
  items={[
    { label: "You have an AnyTrack account with a paid subscription", done: true },
    { label: "You have an active SamCart  via Zapier account", done: true },
    { label: "The AnyTrack tracking tag is installed on your website", done: true },
  ]}
/>

## Samcart via Zapier integration step by step guide

> 📘 **Note**
>
> * [x] Make sure you have completed the Samcart & AnyTrack setup (up to the Webhook setup step)
> * [x] You want to add the AnyTrack webhook in Zapier instead of Samcart.
> * [x] You have a Zapier account with a plan that includes webhook integration.

<HowToSchema
  name="Integrate SamCart and AnyTrack With Webhooks Using Zapier"
  description="Learn how to integrate SamCart with AnyTrack using Zapier and webhooks to automate conversion tracking."
  totalTime="PT15M"
  tools={[
    { name: "Zapier", url: "https://zapier.com" },
    { name: "SamCart", url: "https://anytrack.io/integrations/eCommerce/samcart" },
    { name: "AnyTrack", url: "https://anytrack.io" },
  ]}
  estimatedCost={{ currency: "USD", value: "0" }}
  steps={[
    { name: "Create a New Zap", text: "Start by creating a new Zap in your Zapier account to begin the integration process.", image: readmeAsset1.src },
    { name: "Select the event that starts your Zap", text: "Click to choose the trigger event that will initiate your Zap workflow.", image: readmeAsset2.src },
    { name: "Search and select SamCart", text: "Search for and choose SamCart as the trigger app for your Zap.", image: readmeAsset3.src },
    { name: "Choose the trigger event", text: "Click on Triggers when a new order is made in SamCart.", image: readmeAsset4.src },
    { name: "Connect your SamCart account", text: "Select your SamCart account and click Continue to connect it with Zapier.", image: readmeAsset5.src },
    { name: "Test the trigger with sample data", text: "Click on Test, select a sample order, and continue with the selected record to confirm your setup.", image: readmeAsset6.src },
    { name: "Set your Zap Action with Webhooks", text: "Choose Webhooks as the action event type for your Zap.", image: readmeAsset7.src },
    { name: "Click on Custom Request", text: "Select the Custom Request option to configure the webhook request manually.", image: readmeAsset8.src },
    { name: "Select the POST method", text: "Choose the POST method to send conversion data to AnyTrack via webhook.", image: readmeAsset9.src },
    { name: "Copy the AnyTrack Webhook URL", text: "Go back to your AnyTrack dashboard and copy the webhook URL provided for integrations.", image: readmeAsset10.src },
    { name: "Paste the AnyTrack Webhook URL in Zapier", text: "Paste the copied webhook URL into the URL field in the Zapier webhook configuration.", image: readmeAsset11.src },
    { name: "Enable Data Pass Through", text: "Select the Data Pass Through option and test the data to ensure it is flowing correctly.", image: readmeAsset12.src },
    { name: "Run the test and publish your Zap", text: "Execute the test to verify the connection, then publish your Zap to activate it.", image: readmeAsset13.src },
    { name: "Verify the conversion in AnyTrack", text: "Return to AnyTrack and open the Events Log to confirm that conversion data has been received.", image: readmeAsset14.src },
    { name: "Review conversion data", text: "Review the conversion data sent from SamCart to AnyTrack to confirm a successful setup.", image: readmeAsset15.src },
  ]}
/>

<section className="readme-prose-section">
  <div className="not-prose mt-4 mb-3 text-sm text-gray-700">
    ⏱️ About 15 minutes
  </div>

  <div className="not-prose mb-4 text-sm text-gray-700">
    🧰 Tools:
    <ul className="m-0 p-0 list-none flex flex-wrap items-center gap-3">
      <li>
        <div>
          <a href="https://zapier.com">Zapier</a>
        </div>
      </li>
      <li>
        <div>
          <a href="https://anytrack.io/integrations/ad-networks/samcart">SamCart</a>
        </div>
      </li>
      <li>
        <div>
          <a href="https://anytrack.io/">AnyTrack</a>
        </div>
      </li>
    </ul>
  </div>

  <div className="not-prose mb-6 text-sm text-gray-700">
    💸 Estimated cost: $0
    <div>
    </div>
  </div>

  ## Step by step guide

  > ⚠️ **Warning:**  
  > You must first install the AnyTrack tag across your funnel, including landing pages and the SamCart tracking settings.

  1. ### Create a New Zap

  <div>
    <p>Start by creating a new Zap in your Zapier account to begin the integration process.</p>
    <Image border={false} alt="Create a new Zap in the Zapier dashboard" src={readmeAsset1} />
  </div>

  2. ### Select the event that starts your Zap

  <div>
    <p>Click to choose the trigger event that will initiate your Zap workflow.</p>
    <Image border={false} alt="Zapier event selection screen for choosing a trigger" src={readmeAsset2} />
  </div>

  3. ### Search and select SamCart

  <div>
    <p>Search for and choose SamCart as the trigger app for your Zap.</p>
    <Image border={false} alt="Selecting SamCart as the trigger app in Zapier" src={readmeAsset3} />
  </div>

  4. ### Choose the trigger event

  <div>
    <p>Click on “Triggers when a new order is made in SamCart.”</p>
    <Image border={false} alt="Choosing the SamCart new order trigger in Zapier" src={readmeAsset4} />
  </div>

  5. ### Connect your SamCart account

  <div>
    <p>Select your SamCart account and click <strong>Continue</strong> to connect it with Zapier.</p>
    <Image border={false} alt="Connecting a SamCart account in Zapier" src={readmeAsset5} />
  </div>

  6. ### Test the trigger with sample data

  <div>
    <p>Click on Test, select a sample order, and continue with the selected record to confirm your setup.</p>
    <Image border={false} alt="Testing SamCart trigger data within Zapier" src={readmeAsset6} />
  </div>

  7. ### Set your Zap Action with Webhooks

  <div>
    <p>Choose Webhooks as the action event type for your Zap.</p>
    <Image border={false} alt="Choosing Webhooks action in Zapier" src={readmeAsset7} />
  </div>

  8. ### Click on Custom Request

  <div>
    <p>Select the “Custom Request” option to configure the webhook request manually.</p>
    <Image border={false} alt="Selecting the Custom Request option for the Zapier webhook" src={readmeAsset8} />
  </div>

  9. ### Select the POST method

  <div>
    <p>Choose the POST method to send conversion data to AnyTrack via webhook.</p>
    <Image border={false} alt="Choosing the POST method for the webhook request in Zapier" src={readmeAsset9} />
  </div>

  10. ### Copy the AnyTrack Webhook URL

  <div>
    <p>Go back to your AnyTrack dashboard and copy the webhook URL provided for integrations.</p>
    <Image border={false} alt="Copying the webhook URL from the AnyTrack dashboard" src={readmeAsset10} />
  </div>

  11. ### Paste the AnyTrack Webhook URL in Zapier

  <div>
    <p>Paste the copied webhook URL into the URL field in the Zapier webhook configuration.</p>
    <Image border={false} alt="Pasting the AnyTrack webhook URL into the Zapier URL field" src={readmeAsset11} />
  </div>

  12. ### Enable Data Pass Through

  <div>
    <p>Select the “Data Pass Through” option and test the data to ensure it's flowing correctly.</p>
    <Image border={false} alt="Enabling data pass through and testing data in Zapier" src={readmeAsset12} />
  </div>

  13. ### Run the test and publish your Zap

  <div>
    <p>Execute the test to verify the connection, then publish your Zap to activate it.</p>
    <Image border={false} alt="Running the test and publishing the Zap in Zapier" src={readmeAsset13} />
  </div>

  14. ### Verify the conversion in AnyTrack

  <div>
    <p>Return to AnyTrack and open the Events Log to confirm that conversion data has been received.</p>
    <Image border={false} alt="Opening the Events Log in the AnyTrack dashboard" src={readmeAsset14} />
  </div>

  15. ### Review conversion data

  <div>
    <p>You’ll see the conversion data as it was sent from SamCart to AnyTrack, confirming a successful setup.</p>
    <Image border={false} alt="Viewing conversion data in the AnyTrack Events Log" src={readmeAsset15} />
  </div>
</section>

## Samcart verification checklist> 📘 **Recommended steps to test your samcart integration**
>
> 1. Create or duplicate a product and leave the payment processing on the test mode.
> 2. Create a dummy landing page where you can add the AnyTrack tag.
> 3. Run through the funnel and test the checkout flow.

### Zapier integration checklist

* [x] You have added the **Samcart** integration in AnyTrack and added the webhook in Zapier.
* [x] You have followed meticulously each integration step.
  * [x] **Trigger**: Samcart New Order
  * [x] **Action**: **webhook** > **custom request** > **POST**  and **Data Pass Through** is enabled.
    * [x] You did not modify or added any parameters in the webhook integration setup.

### Samcart integration checklist

* [x] You have added the tracking tag on ALL pages of your funnel, including pages that are not hosted in Samcart
* [x] You have added the tracking tag in the head section of your samcart tracking settings.
* [x] You have added the `atclid` parameter in the Content URL Parameter settings.
* [x] You have disable the Meta Pixel integration from Samcart tracking settings (in Samcart)

### If you have integrated Samcart before May 1st 2025

* [x] You have switch from the custom integration to the native Samcart integration.
* [x] You have updated the content url parameter from `utm_content` to `atclid`.
* [x] You have added the `atclid` custom parameter.
* [x] You have removed the cross domain tracking settings.

## Related Resources

- [Digistore24 Server Tracking](/docs/digistore24-merchants)
- [PayKickstart via Zapier](/docs/paykickstart-via-zapier)
- [Track Conversions with Zapier](/docs/how-to-use-zapier-webhooks-to-track-conversions)

## FAQ about Samcart Integration via Zapier

This FAQ is for the zapier integration. For the regular Samcart integration, please refer to the <a href='/docs/samcart'>SamCart Integration</a>.

* ### Why am I seeing a “Missing `click_id` parameter” error?
  This usually means the click ID (`atclid`) was not captured or passed correctly from your landing page to the samcart checkout.
  * #### **Possible causes:**
    * The tracking tag wasn’t added to **all funnel pages**, especially **non-SamCart pages**.
    * The `Content URL` and / or custom parameter in the webhook is missing the `atclid`.
  * #### **Solution:**
    Ensure the **AnyTrack tag is installed** on every entry point of your funnel, and confirm that `atclid` parameter is visible when you hover on the samcart URL.
