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 and send them to your connected ad networks via Conversion APIincluding rich first-party dataand attribution to improve ad targetting, retargeting, and audiences, consequently ROASand other conversion metrics improve.
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 data like revenue, product name, customer name, email etc, easily and accurately to platforms conversion APIssuch as Google Ads, Facebook Conversion API and Tiktok API 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 - AnyTrack 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 Purchase code trigger sends AnyTrack real-time conversion data through a server-side connect.
- 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 | thrivecart | The Tracking Group reference can be used to activate AutoTag. |
Subid Parameter | passthrough[atclid] | The Subid Parameter used to pass the AnyTrack click_id . |
Tracking Method | Webhook | - |
How it works
Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
Engagements: When visitors click on your ThriveCart checkout, AnyTrack does a few things:
Collects granular data tied to the OutboundClick.
Triggers Event Tracking API requests to your pixels and analytics.
Conversions: When visitors complete a purchase event, AnyTrack receives real time conversion data through Webhook.
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 thrivecart The Tracking Group reference can be used to activate AutoTag.
Subid Parameter passthrough[atclid] The Subid Parameter used to pass the AnyTrack click_id.
Tracking Method Webhook -
Standard Conversions
Event Name Details Data Source
OutboundClick When a visitor clicks on ThriveCart checkout links. AnyTrack JS Tag
Purchase When a user triggers a purchase. Webhook
SamCart integration overview
The goal of this integration is to enable you to pass your customer and purchase data to AnyTrack in order to forward it to your Ads integrations such as Facebook, Google Analytics and other ad platforms.
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 and 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 own 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 18 days ago