If a shopper has abandoned a cart, closes the webpage, and receives an Abandonment email later that day, the contents of the shopping cart can appear across other devices and browsers the shopper might use. Learn how to identify your cart link across your platform, which is the first step to re-creating your cart.
Javascript
When the shopper lands on the checkout page, this is the information is passed to Listrak via the JavaScript. How is this information mapped to each of your customers? Using JavaScript, the cart link is the unique identifier to the cart items, which allows the variables to be passed.
⚠️ Be sure to exclude the "https://" prefix from your URL in the code that is being passed to Listrak.
Check the cart link
You can check to see if you're currently passing the cart link by doing the following:
Open your web browser of choice.
Add an item to your cart.
Navigate to the checkout page.
Open the developer tools on your browser.
💡 Use the F12 shortcut to easily open the tools.
Select the Network tab.
Search for listrak.
Select the update call cart re-recreate JavaScript call on the left-hand side. This will locate the cart link, which appears as cl:.
If you do not see a cl proceed to the steps below
Set Up Cart Link
If you are not currently passing the cart link to Listrak, you can do so by following these steps:
Locate the Shopping Cart Abandonment snippet of code on your website.
Navigate to the SCA Sumbit call.Insert the code above the selected example.
Enter the following code:
_ltk.SCA.CartLink "www.yourwebsitehere.com/cart=cartlinkinformationhere";
These fields will be replaced with each customers cart information.
Magento
Once the SCA solution is activated and working, check to see if your cart information is being passed to Listrak. In Magento, when this cart information is passed to Listrak, it's passed as an "sm1" field– which is a meta field that links to the basket ID. Check for your cart information by following the same steps as above.