Skip to main content

SamCart

Integrate SamCart to adtribtue.

Written by Daniel Busch

You need to follow these steps for each SamCart account you wish to connect:

Create New SamCart Connection

  1. Go to the adtribute app.

  2. Navigate to "Connections" (under Sources).

  3. Click on "Create Connection" in the top right corner.

  4. Search for the "SamCart" connection and select it.

  5. Name the Connection as you like, e.g. the Account Name.

  6. As you proceed through the connection flow, the Connection is created and a "Webhook URL" is generated.

  7. Copy the Webhook.

Now you need to set up the Webhooks app in SamCart.

Set up the Webhooks App in SamCart

Install the Webhooks App

  1. Login to SamCart.

  2. Navigate to "Apps" > "Marketplace".

  3. Search for "Webhooks" and select the "Webhooks".

Connect a New App Instance

  1. On the installed Webhooks app page, open the menu (⋮) in the top right.

  2. Click on "Connect New App Instance".

  1. In the "Connect New Instance of Webhooks" dialog, set the "App Instance Name" to "adtribute".

  2. Paste the "Webhook URL" from the adtribute app into the "Notify Url" field.

  3. Click "Connect". The new instance appears as its own "adtribute" tab.

Add the Rule

  1. Click on "Add New Rule".

  2. Under "What Kind of Rule is This?", select "Global Rule" (applies to all products and pages in your marketplace).

  3. For "Select an Action", choose "Send Notify Url POST for Orders".

  4. For "Select a Trigger", choose "Order Completed".

  5. Save the rule.

Install the adtribute Tracking Code

To track the visitor session alongside the order data, install the adtribute Tracking Code in SamCart:

  1. Go to "Settings" > "Tracking & Pixels".

  2. Find the section "Embed HTML/Scripts in Header".

  3. Paste your adtribute Tracking Code at the very top into the field and save.

Note: Make sure your Tracking Code implementation considers user consent in line with your consent management setup.

Complete Connection

After you have set up the Webhooks app (Install + Connect Instance + Rule) and installed the Tracking Code, the connection is complete and data is flowing to adtribute.

Did this answer your question?