Add Code Snippet
Integrating ProveSource with the popular checkout platform SamCart to show recent purchases/conversions in your website is easy as pie, follow the steps below to start collecting data from SamCart in no time.
To add the code to your checkout pages:
Copy your ProveSource code from https://console.provesrc.com/#/install
Go to your SamCart dashboard
Navigate to your marketplace settings by clicking on the blue person icon in the top right corner of your dashboard and select Settings from the dropdown menu:
Then click on the Tracking and Pixels tab (1), and paste your scripts in the Embed HTML/Scripts in Header box (2).
Don't forget to Save, this might take a few minutes to show up due to cache.
To add the code to your pages:
Copy your ProveSource code from https://console.provesrc.com/#/install
Go to your SamCart dashboard
Go to your page's settings, and add the code under "Pixels + Scripts":
Deeper Integration
Note: This section uses SamCart’s Notify URL (webhooks) feature, which is only available on certain SamCart plans.
If your plan doesn't support webhooks, you can still use Zapier to send detailed events from SamCart to ProveSource.
To show product name, image, and link in your ProveSource notifications, use SamCart’s built-in webhook (Notify URL) feature. Here’s how to set it up:
1. Connect Your Webhook in SamCart
In your SamCart dashboard, click Apps in the left-hand menu.
In the App Marketplace, search for Webhooks.
Click Install next to the Webhooks app:
In your ProveSource dashboard, copy your notification's webhook URL by selecting your notification from the main list:
In the popup:
Click Connect.
2. Create a Webhook Rule
Once the webhook is installed:
Still in the App Marketplace, under the Installed tab, click Webhooks.
Click + Add New Rule.
In the side panel:
Rule Type: Choose Global Rule (for all products) or Product Specific Rule.
Action: Choose
Send NotifyURL Post.Trigger: Select the event that will trigger the notification, e.g., Product Purchased or Order Completed.
Click Add Rule to save.
Note: we recommend using the "Order Completed" trigger to avoid duplicate events for upsells or bundles.
You can find more information in SamCart's webhook guide.








