Abandoned Views

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 carts.

Getting a Softcube Script

For an abandoned views 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 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 the completion of the installation.

Softcube system setting up

When a script is set, Softcube experts 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 Visits

It is necessary to create a letter that will be sent to users and in which automatically viewed and recommended products will be substituted.

To do this, create a new email in the 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.

Email creation for browse abandonment

In block selection mode, go to tab Service

Add block Browse Abandonment

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

  • The abandoned cart - a text block (optional)
  • Abandoned preview, 1st option
  • Abandoned preview, 2nd option
  • Abandoned preview, 3d option
  • Recommendations for abandoned view (all) - optional

As a result, the letter will look like this:

Email with browse abandonment

It contains all the necessary variables. The letter is set up and ready for use.

You only need to make the necessary design changes. If you already have the letter - you can just do a copy and paste the desired blocks into it.

Important! Blocks 2, 3, 4 are required. The fact is that Softcube transmits from 1 to 3 viewed items. Depending on the number of items, one of these blocks will be substituted in the letter.

The style that you have chosen for this letter will be applied to the elements of the blocks.

You can edit block texts and design of any element.

We recommend setting the Browsing label for the letter. This will make it easier to monitor the trigger in the future by allowing you to quickly find the messages you send in your reports.

If you do not fit our standard blocks of goods, you can make your own and customize them for substitution of goods. If necessary, we will help you to do this, please contact us.

Designing an automation scenario

There are four mandatory units in the scenario:

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

Browse Abandonment workflow settings


Select  Abandoned carts via email in 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})


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

Block "Condition"

There are two parameters in this task:

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


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

There should be a variable 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}.


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

Running the scenario

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

For abandoned carts, Softcube sends a Browsing event. It must be chosen.

Workflow launching

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 the trigger 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 workflow

Trigger operations check

Once per hour Softcube sends events with abandoned views (if they were).

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
Contact the eSputnik support team
Send an Email