Aimtell

Aimtell Documentation

Welcome to the Aimtell documentation hub. You'll find comprehensive guides and documentation to help you start working with Aimtell as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Tracking Abandoned Carts

In this document we are going to show you how to track abandoned shopping carts as custom events, which can then be used to triggered automated notifications to recover them.

Note:

These steps are for non-shopify websites. If you are using Shopify, then Abandoned Carts are automatically tracked for you as an event and you do not need to follow these steps below. Simply head to your dashboard and activate abandoned cart notifications under "Notifications" > "Triggered Notifications"

STEPS

Step 1

The first step is to add the following snippet on your "Cart" or "Checkout" page. Please this just below your closing "</body>" tag.

<script>
//aimtell abandoned cart tracker. 
function _aimtellReady(){
    _aimtellAbandonedCart('add-to-cart', 30);
} 
</script>

In this example a cart is deemed abandoned if the user does not complete it in 30 minutes. You can change that to any number you want (60 = 60 minutes, 120 = 2 hours, etc)

Step 2

Next, place the following code on your "order complete" or "thank you" page.

<script>
//aimtell abandoned cart tracker. 
function _aimtellReady(){
    _aimtellAbandonedCart('order-complete')
}
</script>

Step 3

After you add those you will start seeing "Abandoned Cart" events start showing up in your event logs and you can create the triggered campaign to send notifications those who trigger it. It's usually easiest to let the code run for 24 hours so that you can easily see the events being logged in your dashboard ("Logs" > "Event Logs"). Once you are ready you may proceed to adding custom event triggered notifications.

Tracking Abandoned Carts