Abandoned Carts

The process of setting abandoned carts scenario consists of the steps:

The first three points are skipped if you have already completed them when setting up the abandoned views.

Getting a tracking script

For an abandoned carts script, you need to contact support. Formation of the script for your site won't take long, so the script and instructions for its installation will be sent within two days.

In some cases, you may be additionally asked for the file with products in XML format. This will depend on the engine of your site.

The implementation of the tracking script to the site

You will receive the script from technical support and instructions for installing it. You will need to install the script according to the instructions and to inform us about completion of the installation.

Tracking system setting up

When a script is set, ourexperts will set it up to obtain data about user activity on the site and the goods.

At this stage, some sites may require XML-feed with the goods. In this case, the support staff will ask you to prepare the link to it and send it to them.

Even if the feed is not required, it is desirable because its presence allows obtaining more accurate information about products and allows to avoid the problems of changes in the layout on the site.

Rules of feed formation are described here.

Creating emails for Abandoned Carts

You need to create an email that will be sent to users and in which the products are automatically supplied from the cart.

To do this, create a new email system based on any template or copy one of your letters.

There are already templates for writing on abandoned hits in the sets of blocks. To add a block, click on any block in the letter, and then click Add a new block.
Creating emails for Abandoned Carts

In block selection mode, go to tab Service.

Creating emails

Here you need to consistently select two blocks and insert them into a letter:

  • The abandoned cart - a text block (optional)
  • Goods from the abandoned cart (all)

As a result, the letter will look like this:

The letter will look like this

It contains already all the necessary variables. The letter is set up and ready for use. The style, which you have chosen for this letter, will be applied to the elements of blocks. You can edit text blocks and layout of any elements.

We recommend to label letters with the mark "Cart." This will facilitate further trigger operation monitoring and allow to quickly find the sent messages in reports.

You can configure any other Product block. If you need help in customizing a template - please contact our Support team.

Designing a workflow

There are four mandatory units in the script:

  • Task - Abandoned carts via email
  • Conditions - variable matches the regular expression
  • Email
  • Check Point

Designing a workflow

Task

Select Abandoned carts via emailin the Task block. The settings of this block are shown in the screenshot above.

The task has 4 parameters:

  • tenantId (leave unchanged)
  • apiKey (leave unchanged)
  • blockId (you need to query the parameter data from us and paste it into this field)
  • email (assign variable ${contacts})

Conditions

This unit is a service one. It allows you to not send a letter if the user is in the last minutes he returned to the site and complete your order, or even for some reason it was not possible to obtain data on the abandoned goods.

Select variable matches the regular expression in the block Conditions.

Select variable matches the regular expression

There are two parameters in this task:

  • name (enter here a smartMessageJson variable)
  • pattern (enter the expression here .*)

Email

Choose a pre-created message to abandoned carts in this block.

There should be a variable ${contacts}, in the Email field of the contact, but while the trigger is not checked, we recommend that you enter your email address in this field. You will receive letters from your users on it. If the letters are all right - change your email address to ${contacts}.

Checkpoint

Serves to debug the scenario. In the Title field, type noCart.

Running the workflow

To run the script, you must select an event and activate the scenario.

For abandoned carts, Softcube sends an abandonedCart event. It must be chosen.

Running the workflow

To do this, click on Set start condition.In the opened window, select abandonedCart and run no more than once in 8 days. Click Apply.

Set start condition

Important!

8 days is a restriction of the frequency of sending letters to the same user. That is, the letters will be sent to the user, not more than once in 8 days. You can set another limit.

This is done to minimize complaints about spam and unsubscribe. Users do not need too frequent emails.

As a result, working and the active scenario will be as follows.

Active scenario

Trigger operations check

Every hour Softcube sends events with abandoned carts (if any).

If you specified your test email in the scenario (recommended), then the first letters will not be received by users of your site, but you. Check in the letters whether the information about the goods is correctly inserted, whether the prices are correct, whether the links work. If you need to change the design or texts - make corrections to the letter and check incoming letters again.

If the letters arriving at your test address suit you, replace your email with the variable ${contacts} in the scripts in the Email block. After that, the letters will be sent to the users.

At any time, you can control which letters are generated for your users in the Reports - Single Reports.

Summary campaign reports will be in the Reports - Reports.

Sending Push-notifications in Abandoned cart Scenario.

Any Questions?
We’re always happy to help!
Request a Callback
Fill in the form, and our specialists will call you back as soon as possible.
Request a Callback
Chat Support
We’re waiting for your questions!
Send a Chat Message
Email
Contact the eSputnik support team
Send an Email