SamCart is a 3rd party shopping cart service. This guide demonstrates how to set up an Everflow Offer to track products sold using SamCart.

For more information about SamCart - [Click Here]


Step #1

Once you have added your product in SamCart, click the dots icon for More, then select Share.

On the next page, select Copy Link. This is the URL you will use when creating the Offer in Everflow.

Step #2

In Everflow, create the Offer. For detailed instructions on creating an Offer - [Click Here]

  • Under General, paste the product link from SamCart as the Base Destination URL.

  • Under Tracking & Control, turn on the toggle for Use Direct Linking. We recommend selecting HTTPS iframe Pixel (with Transaction ID) as the Conversion Method.

Step #3

Once the Offer is created and saved, copy the Click Script from the Everflow JS SDK card.

Step #4

In SamCart, click the Settings icon.

Scroll down to Global Product Details, and paste the Everflow JS SDK Click Script under Embed HTML/Scripts in Header.

Be sure to scroll up and click Save Changes.

Step #5

Click Products, then click on the product.

Step #6

Click on the Advanced Settings tab. Under Fire pixels/scripts after an order is completed, paste the script below.

Be sure to plug in your Advertiser ID into the code under var aid = INSERT_ADVERTISER_ID. This is the only part of the code that needs to be changed specific to your account.

<script type="text/javascript">

var aid = INSERT_ADVERTISER_ID;

var totalAmount = parseFloat(order_summary.total_amount);

var totalShipping = parseFloat(order_summary.total_shipping);

var totalTax = parseFloat(order_summary.total_tax);

var adv1 = '';

var adv2 = '';

var adv3 = '';

order_summary.items.forEach(function (line_item) {

adv1 += line_item.product_name+' ';

adv2 += line_item.amount+' ';

adv3 += line_item.quantity+' ';

});

EF.conversion({

aid: aid,

amount: totalAmount - totalShipping - totalTax,

adv1: adv1,

adv2: adv2,

adv3: adv3,

order_id: order_summary.id,

email: order_summary.customer.email

})

</script>


NEED HELP? OUR CUSTOMER SUCCESS TEAM IS HERE FOR YOU!

We've assembled a superstar team of industry veterans that are available around the clock to make sure that your issues are resolved and questions are answered. You can reach out any time in-platform via Chat or by emailing support@everflow.io.

Did this answer your question?