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.
1. Go to your SamCart dashboard
2. From the dropdown menu at the top-right of your dashboard, click on Settings.
3. On the General tab, find the Embed HTML/Scripts box and paste the ProveSource snippet in it.
4. Don't forget to Save, this might take a few minutes to show up due to cache.
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.