Conditional Content for Email Templates
Conditional Content allows CartStack users to present their customers with the most relevant email content possible, to give you the best chance at recovering a lost sale.
Conditions are predefined by the user & can be based on a number of factors:
- Actions the customer took on your website.
- Items added to their cart.
- The total value of the abandoned cart.
- Product pages viewed.
- The region/language of the abandoned customer.
- And much more…
Once the conditions are defined, all you need to do is tell our email builder which content to show which segment of recipients, and you’re all set!
Click here for some additional examples.
There are 2 ways to pass the conditions and the content to CartStack:
1. The CartStack code can scrape your page or URL for the data items. This would require the data that's being passed to be stored on a unique ID in the HTML on your page or present in the URL. It will also require your account to be on a paid CartStack Pro plan. We cannot set this feature up on a trial account.
Or
2. You can pass us the data items via our API when you decide the conditions are met. This will not require you to be on a CartStack Pro plan and our API docs are here.
Getting Started
Email us at support@cartstack.com with the conditions you would like to use. Once the conditional attributes are set in your account, you will be able to use them in your email templates.
Managing Attributes
Once CartStack has set up your Conditional Attributes, you can find them in your account settings.
You can edit the Description field if you prefer, but please do not alter any other fields or the attribute will break. You won't need to take any actions on this page!
Adding the Conditional Attributes to your Email Template
In your email template, select the row you would like to set the condition on, then Select Condition in the options on the right.
Select the appropriate condition and value for the row.
- You will see the conditional code display in the row properties menu. Repeat steps 1 and 2 for any additional rows that need conditions.
- In order to test the email conditions, you will need to load the template to your Cart or Booking abandonment campaign. We recommend you first place the campaign into test mode.
Please email support@cartstack.com with any questions. :)