Smart Offers let you show each shopper a different discount, based on how likely they are to buy. For example, instead of giving everyone 10% off, you could give:
5% off to shoppers who are likely to buy anyway
15% off to shoppers who may need a bigger reason to buy
This way you keep margin on shoppers who don't need a bigger discount, and still offer more to those who do.
Smart Offers use a Smart reward. Because shoppers get different discounts, you need to set up two things:
Your popup in Alia, so it shows each shopper's own discount.
Your welcome flows in your email and SMS platform, so they send the right message for each discount.
Part 1: Set up Smart Offers in Alia
Step 1: Create a Smart reward
Go to the Rewards page. You can open it from the Rewards card at the top of the Campaigns page.
Click Create and choose Smart reward.
Add two or three discounts. We recommend three:
Your current discount, such as 10% off
A smaller discount, such as 5% off
A larger discount, such as 15% off
For each discount, choose a percentage or amount off, with a static code or unique codes.
Save the reward.
💡 Note: Once you save a Smart reward, you can't change what each discount gives or remove discounts. Make a new Smart reward instead. Free shipping and custom rewards can't be part of a Smart reward.
Each shopper who's shown one of the discounts keeps getting that same one.
Step 2: Duplicate your popup and update its text
Duplicate your current live popup.
Find every place the popup mentions the discount, such as "Use this code at checkout for 10% off".
Replace the hardcoded amount with the reward's text:
Do this everywhere the discount appears:
Headlines and subheadings
Button text
The success step
SMS steps
Anywhere the code is shown
Step 3: Send the reward to your email and SMS platforms
Add the reward to the form's When form is submitted setting on your email and SMS forms, so the shopper's discount reaches your platform with their signup:
Property | What it holds |
| The shopper's discount code |
| The discount's title, such as "10% off" |
Your email and SMS platforms use these to decide which welcome message to send and which code to show.
💡 Note: Alia also sends the code and title when a shopper claims the reward, but that can be after they sign up. Setting them on the form means they arrive with the signup. Popups made with Build a popup already do this.
Step 4: Update the code display
If your popup shows the discount code, select the Discount element (or the Code expression) and change its reward to your Smart reward. If the popup doesn't show the code, you only need Step 3.
💡 Note: If a popup uses a Smart reward and other rewards, Alia warns Multiple rewards referenced when you publish. Check that every reward reference points to the Smart reward.
Part 2: Set up your email and SMS platforms
Shoppers can now get different discounts, so your welcome flows need to handle each one.
Klaviyo for email and SMS
Option 1: Conditional splits (recommended)
Keep your welcome flow and add a conditional split on the alia_offer_text profile property, with a path for each discount (5% off, 10% off, 15% off). Duplicate your welcome messages into each path and adjust the copy. Use the alia_offer property in your messages so the right code shows.
Option 2: Separate welcome flows
Create a welcome flow for each discount, and add a flow filter on alia_offer_text so each shopper only enters the flow for their discount.
Klaviyo for email, Postscript for SMS
Set up Klaviyo as above. For Postscript:
In Alia, update your on-site opt-in message to use the Smart reward's Code and Text expressions instead of a hardcoded code and amount. See What is Postscript on-site opt-in.
In Postscript, either use conditional splits in one automation, or create an automation for each discount.
In your messages, use the
aliaoffer(code) andaliaoffertext(title) properties.
Klaviyo for email, Attentive for SMS
Set up Klaviyo as above. For Attentive, it depends on whether you use static or unique codes.
Static codes (such as WELCOME5, WELCOME10, WELCOME15)
In Attentive, create a welcome journey for each discount.
Create an API sign-up source for each journey.
In Alia, open each discount's Integration overrides and set its Attentive sign-up source, so shoppers go into the right journey.
Unique codes
Attentive doesn't allow variables, including custom attributes, in welcome journey messages. Alia still saves each shopper's code on their Attentive profile, but your welcome journey can't insert it. You have two options.
Option A: Use Attentive-generated codes (recommended)
Your popup and Klaviyo emails use Alia's codes.
Your Attentive welcome journey sends Attentive's own codes for the same discount.
This is the simplest setup. Shoppers see one code in the popup and get a different code by text, both for the same offer.
Option B: Start journeys from segments
Send a welcome text without a code in your welcome journey.
Create dynamic segments on
alia_offer_text.Start a separate journey when a subscriber joins each segment.
In those journeys, you can use alia_offer and alia_offer_text from Step 3, or the Alia discount code and Alia discount text attributes that Alia saves in Attentive when the shopper claims the reward. This sends one extra text, but uses the same code everywhere. You don't need Integration overrides with this option.
Test before you launch
Before you make the popup live:
Sign up with several test profiles.
Check that different discounts are given out.
Check that the popup text changes with the discount.
Check your email and SMS flows, and that the right code appears in each message.
Then make the popup live, or start an A/B test against your current popup.
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.














