SamCart
Get the most out of SamCart with AnyTrack custom integration. Streamline conversion data and boost ROAS with AnyTrack SamCart integration.
SamCart is an e-commerce shopping cart platform founded in 2013 by Scott and Brian Moran. It has become a viable alternative to Thrivecart, which is another supported e-commerce platform that offers similar functionality. When you integrate SamCart to AnyTrack you are able to track your sales (with or without bumps) and send them to your connected ad networks via Conversion APIincluding rich first-party dataand attribution to improve ad targeting, retargeting, and audiences, consequently ROASand other conversion metrics improve.
Limited Support for Custom Integrations
Please note that we don't provide direct support for setting up or adjusting custom integrations outside of our Integration Catalog. While our documentation offers helpful guidance, it may not be actively updated to reflect new changes in those platforms. Setup and adjustments have to be implemented by you. Let us know if you have general questions!
About Upsells
If your funnel includes Upsells, SamCart has informed us that it has a limitation in terms of Purchase notifications: it will inform AnyTrack; first after Purchase, and then after Upsell, the last notification includes the Purchase, making the first notification redundant. If your funnel has one-click upsells, you will need to remove the redundant Purchase before sending it to AnyTrack using an automation middleware like Zapier or Make. Purchases with bumps are not affected by this limitation.
Overview
While we don't have a native SamCart integration we leverage our general-purpose Custom Integration to track all your sales automatically from SamCart. With the help of AnyTrack, you can now send conversion data like revenue, product name, customer name, email, etc, easily and accurately to platforms' conversion APIssuch as Google Ads, Facebook Conversion API, and TikTok for efficient tracking. This lets you get full control over conversion metrics without having to manually update each one individually - saving time while ensuring accuracy! Maximize ROI with customizable goals that match your unique business needs.
How does the SamCart integration work:
- Traffic: When visitors land on your website or SamCart checkout, AnyTrack collects traffic source data and First Party data.
- Conversions: When visitors complete a purchase event the trigger code sends AnyTrack real-time conversion data through a server-side connection.
- Attribution: AnyTrack processes the conversion data and reports it across various reporting sections of the Anytrack Dashboard.
- Conversion API: AnyTrack then sends your conversions to your Ad Platforms' Conversion API so you can feed your ad platform's Machine Learning, AI, and automatic optimization according to 100% of your conversion data.
Technical details
Reference | Value | Information |
---|---|---|
Tracking Group | no tracking group | Since this setup uses the Custom Integration no tracking group is needed. |
Subid Parameter | clickId | The clickid is automatically collected when the checkout page loads, and then included in the webhook data. |
Tracking Method | Webhook | GET request from SamCart to AnyTrack Custom Integration's Postback URL |
Prerequisites
To enable the SamCart integration you need the following:
- An AnyTrack account with a Basic Plan.
- A SamCart account with any plan.
There are two scenarios to integrate SamCart with AnyTrack
- Your entire funnel runs on SamCart.
- Your funnel runs across multiple domains. For example, your landing page is on clickfunnels, and the payment is on
yourbusiness.samcart.com
.
Step-by-Step Setup Guide
Video Tutorial Available
Watch this video to learn how to integrate SamCart with AnyTrack, however, keep reviewing this page to learn the steps involved in the setp
Option #1: SamCart is your funnel
Essentially, this flow assumes that you're sending traffic directly from your marketing channels to your Samcart product hosted page.
- In AnyTrack Create A new Property
- Grab the AnyTrack Tracking Tag
- Navigate to the product Advanced Settings and Paste the Tracking Tag in the Header SectionΒ Β
Β Β
- Return to AnyTrack and add a new integration using the custom integration
- Fill in the placeholder fields with dummy values and saveΒ Β
Β Β
- Copy the Postback URL and paste it into a notepad so you can edit it.Β Β
Β Β
- Remove all query parameters,including the
?
. The result should look like this:
Β Β https://t1.anytrack.io/xxxxxxx/collect/custom-samcart
- Update the following code with your postback url
Caution
You must replace the postback url in the code below with your postback url created on step 7.
Trigger code for SamCart Purchase
<script>
AnyTrack('postback', 'https://t1.anytrack.io/xxxxxxx/collect/custom-samcart?clickId={click_id}', {
event_name: 'Purchase',
email: '##email##',
firstName: '##first_name##',
lastName: '##last_name##',
phone: '##phone_number##',
transactionId: '##order_id##',
commission: ##total_amount##,
currency: '##currency##',
productTotal: ##product_total##,
shippingPrice: ##total_shipping##,
taxPrice: ##total_tax##,
items: [{
id: '##product_id##',
name: '##product_name##',
price: ##product_price##,
quantity: ##product_quantity##,
brand: 'AnyTrack'
}]
});
</script>
- Once you've updated the code you can copy/paste it into the product checkout confirmation Script Field:Β Β Β Β
- Save your product.
- You can preview the product and run a test order to see how the conversion shows up in the conversion log.Β Β
Β Β
- And you're done!
Option #2 SamCart is the the last step of your funnel
This scenario assumes that you're funnel starts on a website that is not hosted on Samcart domain.
- Run through all the steps from the Option #1
Unless you've got already a property and in this case you simply need to edit the current property in order to grab the Tracking Tag and paste it into your product Script.
Your checkout is on the same domain:Β
If your SamCart checkout product page runs on the same root domain as your funnel:
For example:
- Your funnel is on
www.yourfunnel.foo
- Your Samcart checkout is on
checkout.yourfunnel.foo
Your checkout is on yourbusiness.samcart.com
yourbusiness.samcart.com
- Open the property settings.
- Scroll down to the cross domain settings and add samcart.com in the cross domain field.
- Toggle the UTM parameters options.
- Save and you are done!
Testing your Samcart and Anytrack integration
Samcart Integration Validation Guide
Simply go through your funnel as if you were a visitor, then open the integration log to see the data showing up.
FAQ & Troubleshooting
Install the AnyTrack Pixel Helper Extension
Install the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your funnel websites and your SamCart checkout. It also shows connected ad network pixels and browser-side events. Learn more.
I don't see the Purchase events from SamCart:
If you can't see the Purchase events in the Reports or the Events Log, ensure that:
- The AnyTrack Tag is installed on SamCart checkout and all the pages involved in the funnel leading to SamCart checkout. Use the AnyTrack PIxel helper for this audit.
- You have installed the Purchase trigger in the right place and adjusted the code to your custom integration.
- If your thank you page is not located on samcart.com the trigger might not be firing on run time, to address this situation please set your thank you page within samcart.com
- If these steps have not solved the issue contact AnyTrack support.
Updated 6 days ago