Skip to main content

Integrating ProveSource in SamCart

Learn how to integrate ProveSource with the popular checkout platform SamCart

Written by Natan Abramov

You need all 3 steps. The code shows the notifications, the webhook sends your orders.

Step 1: Add the code to SamCart

Copy your code from console.provesrc.com/#/install.

For checkout pages

  1. In SamCart, click the person icon (top right) and select Settings.

  2. Open Tracking and Pixels and paste the code in Embed HTML/Scripts in Header. Save.

For pages you built in SamCart

Sales pages, landing pages, and any page on mysamcart.com. The code from Settings doesn't reach these, so add it to each page:

  1. Open the page, click Settings, and paste the code under Pixels + Scripts.

  2. Save and publish. Repeat for each page.

Don't use the Fire Pixels/Scripts After An Order is Completed box. It only runs after a purchase.

Step 2: Create the notification in ProveSource

  1. Create a new notification and choose Stream.

  2. Track step: choose Webhook and copy the URL under Webhook Endpoint.

  3. Display step: add the SamCart pages where it should show.

  4. Message step: don't type the product name. It's added automatically.

  5. Save.

Step 3: Connect the SamCart webhook

  1. In SamCart, go to Apps, search for Webhooks and click Install.

  2. Paste the URL from Step 2 into Notify URL and click Connect.

  3. Under the Installed tab, click Webhooks, then + Add New Rule.

  4. Set the rule and click Add Rule:

    • Rule: Global Rule

    • Action: Send Notify Url POST

    • Trigger: Order Completed (other triggers can show one order more than once)

Your next order will show as a notification. Past orders aren't imported.

No Webhooks app in SamCart? It's only on some SamCart plans. Skip Step 3 and choose Form Submissions in the Track step instead, with your checkout page URL. Notifications will show without the product name.

Not working?

  • ProveSource says it isn't installed: the code is missing. Redo Step 1.

  • Order is in the Events feed but nothing shows: add the code to that page (Step 1) and add the page in the Display step.

  • Order isn't in the Events feed: check the Notify URL matches the webhook URL exactly.

  • Product name shows twice: remove it from your message.

  • Second notification: each one has its own webhook URL. Add a separate webhook in SamCart for it.

Did this answer your question?