ActiveCampaign Abandoned Cart Tracking

#Overview

Using WP Fusion’s Abandoned Cart addon (available to Plus and Professional license holders), you can track and follow up on abandoned carts from popular WordPress plugins in ActiveCampaign.

WP Fusion’s Abandoned Cart addon works with the following plugins:

After the customer’s name and email have been entered on the checkout form, the customer is added as a contact to ActiveCampaign (even if they don’t complete the checkout).

You can then use automations in ActiveCampaign to follow up with customers who don’t complete checkout within a specified period of time, including sending a cart recovery URL, and issuing automatic discounts based on tags.

#Setup in WordPress

Download the WP Fusion – Abandoned Cart Addon plugin file from your account and install it on your WordPress site.

The Abandoned Cart settings are found at Settings » WP Fusion » Addons.

screenshot

There are two important settings:

  1. In the Apply Tags setting, select a tag to use for tracking abandoned carts. This tag will be applied when a cart is abandoned, and automatically removed once a customer completes checkout.
  2. In the Abandoned Cart Delay setting, select how long (in minutes) WP Fusion should wait after the customer begins to checks out before applying the abandoned cart tags.

Other settings may be shown based on your installed plugins. For more information, see the tooltips or visit the Abandoned Cart Tracking Overview documentation.

#Syncing cart fields

WP Fusion has the ability to sync details about the abandoned cart to custom fields on contact records in ActiveCampaign. These fields can then be added to cart recovery emails using merge tags.

To enable these fields, head to Settings » WP Fusion » Contact Fields » WP Fusion Abandoned Cart.

#Recovery URLs

With WooCommerce and Easy Digital Downloads, WP Fusion has the ability to generate a cart recovery URL and sync it to a custom field in ActiveCampaign.

This can be enabled by enabling the Recovery URL field for sync from the Contact Fields list (see above).

When a customer begins to check out (or their cart contents are updated), the cart contents will be saved into a cache in your database, and the recovery URL will be synced to the selected custom field in ActiveCampaign.

The WP Fusion activity logs show the cart data being synced to the CRM once a customer has entered their email address on the checkout page.

You can then use a merge field in the email editor in ActiveCampaign to include the unique recovery URL.

Heads up: If you are using the recovery URL field in a button in an ActiveCampaign email, it’s recommended to turn off Google Analytics tracking on the email.

The reason is that the UTM parameters can get appended to the contact ID in the button, which causes the cart recovery not to work.

When the recovery URL is visited the customer’s cart contents will be restored, and the checkout fields will be pre-filled using the information that was entered in the initial abandoned checkout session.

#Deep Data API

The Deep Data API supports syncing the full cart contents to ActiveCampaign when a customer updates their cart in WooCommerce or Easy Digital Downloads.

To enable this feature check the box for Sync Carts from the Addons tab in the WP Fusion settings.

You can also specify the page the customer should be taken to when they click on the cart recovery link. The Current Page option can be used if you have multiple checkout pages (for example with CartFlows).

Note: With this method enabled it’s not necessary to use tags for tracking cart abandonment, and it’s not necessary to use a custom field for the recovery URL.

#Setup in ActiveCampaign

When a customer begins checking out a new cart will be created in ActiveCampaign, which will trigger an abandoned cart action. You can use this action as an entry point for your automation.

After the trigger, you can send the abandoned cart followup email. Here’s the full automation:

activecampaign abandonedcart deepdata

ActiveCampaign includes a pre-built abandoned cart recovery email which is compatible with WP Fusion. You can also create your own email from scratch by adding an Abandoned Cart block to any email.

#How it looks

Your carts will automatically be synced to the associated contact in ActiveCampaign, and will appear in the WP Fusion Deep Data section on the contact record, with a status Abandoned.

If you’re using WP Fusion’s Enhanced Ecommerce Addon, carts will automatically be marked as Completed once the order is completed.

#In emails

The customer’s cart contents will be merged into the recovery email, including product names, prices, and images.

When the customer clicks the Return to Checkout link they will be taken back to the checkout and their cart contents will be restored.

#Troubleshooting

When a customer begins to check out you should see an entry appear on their activity stream in ActiveCampaign with the cart contents. This will appear on the sidebar when viewing the contact record.

If this entry doesn’t appear or you experience other unexpected behavior with abandoned cart tracking, please first turn on WP Fusion’s activity logs and begin a test checkout to trigger the abandoned cart actions.

The Abandoned Cart Addon will write detailed information to the logs, which you can include in your support ticket.

#Tag based method

This method is available for people who don’t want to use the Deep Data API or don’t have an ActiveCampaign Plus plan.

Check out how we use tag-based abandoned cart tracking with ActiveCampaign in this blog post.

#Setup in WordPress

First, go to the Addons tab under the WP Fusion settings and select a tag to be used for abandoned cart tracking. You use an existing tag, or type a new one into the box.

abandoned-cart-config

WP Fusion will automatically apply this tag to the user when checkout is begun, and the tag will be removed if checkout is completed successfully.

Next, log into your ActiveCamaign account and create a new Automation. The automation should be triggered when the “Abandoned Cart” tag is added and you can send an email, and/or create an internal task for further followup. See the image below for an overview of the entire automation.

activecampaign abandonedcart tag based

#Testing

To test your abandoned cart automation, set the Abandoned Cart Delay setting to 0 to disable the delay. Open a new private browser window and add a product to your cart.

On the checkout screen, enter at least your name and email address. Once your focus leaves the email address field (either by clicking out of the field, or entering text into the next field), a contact will be created in ActiveCampaign, the tagwill be applied, and the email will be sent.

The WP Fusion activity logs show any data being sent to ActiveCampaign.

You can click the cart recovery link in the email to confirm the customer details and cart contents are successfully restored.

#Further reading

For more information on abandoned cart tracking with WP Fusion, see the Abandoned Cart Tracking overview.

To automatically apply discounts in WooCommerce based on a contact’s tags in ActiveCampaign, see the Automatic Discounts documentation.

Was this helpful?