Before you start
Things you need to know:
SMS messages are made up of segments, which must be a maximum of 160 characters, or 70 characters if you're using a non-Latin alphabet/character set. If you use a greater number of characters, your message flows into a second SMS segment, as indicated by the counter at the bottom right of the message editing window.
Adding elements like personalisation can vastly increase your character count. You can set a max number of segments to use per message to help protect your SMS spend.
Learn more in Set max SMS segments.
You must be syncing product browsed data to Dotdigital, using one of our ecommerce connectors, the Dotdigital Tag, or using a custom integration.
Contacts’ mobile numbers must be stored in the system Mobile number field, and not in a custom data field.
Link shortening must be enabled in your SMS and MMS campaign options.
Create an abandoned browse SMS or MMS
Go to Automation > Triggered SMS/MMS.
Select NEW CAMPAIGN, then enter a campaign name, and select SAVE.
For Message, enter your abandoned browse message.
For example: “Hey there! Ready to take another look? Your favourites are waiting for you: [product link]”
Select the personalize (person) icon below the message box.
In the Insert personalization side panel, select Liquid markup.
Copy and paste the Abandoned browse Liquid markup below into the Liquid markup field.
Select INSERT.
Abandoned browse Liquid markup
{% assign ProductPagesInsights = null %}
{% assign webinsightdata = contact.insight.webinsight | sort:"Session_start" | reverse %}
{% if webinsightdata.size == 0 %}
{% assign webinsightdata = contact.insight.webinsights | sort:"Session_start" | reverse %}
{% endif %}
{% for record in webinsightdata %}
{% assign pagesviewed = record.page_viewed %}
{% assign ProductPagesInsights = pagesviewed | where_not: 'custom_page_values.product_sku', nil | distinct: 'custom_page_values' %}
{% if ProductPagesInsights.size > 0 %}
{% break %}
{% endif %}
{% endfor %}
Preview your abandoned browse message
To check your message is working the way you want, you can preview it as one of your contacts.
Make sure that the contact you use to preview the campaign has the required browsed products Insight data.
To do this:
Above your message preview on the right of the page, select the PREVIEW AS search field.
Enter your contact’s email address, or mobile number to search for them.
Select your contact.
This now displays your message as the selected contact would see it.
Next steps: send your abandoned browse message in a program
