All Collections
Products
Reclaim
Reclaim Integration Guides
Set up Reclaim for Add to Cart in Cordial
Set up Reclaim for Add to Cart in Cordial
Updated over a week ago

This feature can identify abandoned cart contents for both unknown, non-logged in users (Grow contacts) and known, non-logged in customers (emails in your Grow suppression list). If you use this feature, we will send all of those Add to Cart events to you.

NOTE: We must enable this feature for you. If you’ve not already spoken with someone on our team, please ensure you request that we enable this for you.

To use this feature, you must have the most recent version of our script on your website. You can find your script in your account under Code Script > View Script.

Click here for a link to all our tutorials on how to add the script to your site, in case you need a refresher—and here's how to setup a Cordial integration.

On your website

Note: If you're using our custom Shopify Integration app, the Add to Cart script will automatically be installed.

Inside of your site builder, add our Add to Cart script to fire when someone clicks to add an item to their cart:

geq.addToCart(item);

Next, edit the snippet.

Generic code for buttons defined by a button ID:

<script type="text/javascript">document.getElementById("AddToCart").addEventListener('click',function (){geq.addToCart(item)});</script>

Generic code for button defined by a class notation:

<script type="text/javascript">document.getElementsByClassName("AddToCart").addEventListener('click',function (){geq.addToCart(item)});</script>

Set up Add to Cart flow

Once you have the Add to Cart script added to your site, you will need to set up your HTML content and flows in Cordial.

1. Go to Content > HTML Content. Search for your current cart content. Then, click the drop-down next to its name, and click Copy.

2. Name the copy Add to Cart Reclaim, set the key as reclaim-add-to-cart, and click Continue.

3. Find your existing Add to Cart event name (ex. 'cart-add'):

4. Replace that code with the name 'Add to Cart Reclaim' and Save.

5. Go to Message Automation > Podium Orchestrations and then search for your existing cart abandonment flow. Next, click the drop-down next to it > Duplicate.

6. Click Trigger.

7. Choose Add to Cart Reclaim from the trigger drop-down list, and click Continue.

8. Save Draft, and then click Delay.

9. Add 15 minutes to your current delay. For example, if your current Add to Cart flow delay is 30 minutes, change it to 45 minutes. Then, click Continue.

10. Next, go to Filter > Edit Audience.

11. Leave the existing filter criteria, and add this rule:

System Events > Email > Sent > By automation
By message name > [Name of the first cart abandonment email]
Recency > Within the past > 7 > days

Note: This 'recency' is a general guideline that can be adjusted to best fit your marketing efforts.

12. Repeat above until all of the emails in your original cart flow have been added to the logic for ALL Actions/Emails in the entire flow.

13. Once that's set up, click Continue. Then, click Continue again.

Set up the action

1. From the flow chart, click Action > Edit.

2. Click the Block Name that contains your Add to Cart content, and click Message Markup.

3. Search for '{include 'content:' to find the Add to Cart content:

4. Replace the existing code after '{include 'content:' with the key you created earlier:

reclaim-add-to-cart

5. So, that will look like this:

View Add to Cart events

Once everything is properly set up, Add to Cart Reclaim events will appear in Analytics > Event Data Reports in Cordial.

Note: Your client success manager can send test events through for you when you're ready.

Additionally, you can see these events successfully passing through in your Retention.com account when you see the Added to Cart option populate under Event Details. This is an easy way to confirm that our events have been successfully implemented.

Have questions? Message us on chat or email us at support[at]retention.com!

Did this answer your question?