Location-based notifications
Show a message on a customer's iPhone lock screen when they're near your store, and use the reward option to remind people a treat is waiting.
A location-based notification puts a message on a customer's iPhone lock screen when they're near one of your store locations, for example "Your free coffee is waiting, pop in!". It's available on every plan, and it's the one notification that can bring someone in while they're walking past.
How it's different#
Every other notification is sent by Leal at the moment something happens. A location-based message isn't sent at all. Leal stores the message inside the customer's Apple Wallet pass, together with the map position of each of your locations. The iPhone then shows it on the lock screen by itself when it notices it's close to one of them.
That means:
- It's an Apple Wallet feature. Leal adds your locations to Google Wallet passes too, but the custom message is only used on iPhone.
- The phone decides when to show it. Leal can't control exactly how close the customer has to be, or how often the iPhone shows it. The customer also needs location services switched on.
- There's no record of it being seen. Because nothing is sent, it doesn't show up in any history.
Before you start#
Each location you want to use needs its address or map pin saved, so Leal knows where it is. Add or check your locations under Locations. Locations without a map position are left off the pass.
Set one up#
- Go to Notifications and click New notification.
- Under When should this notification be sent?, choose Location-based.
- Under Location, choose one location, or All locations.
- Optional: tick Only when customer has an available reward.
- Optional: pick a card under Loyalty card (optional).
- Write your Message. You can use
{{ location.name }}to name the nearby location. - Click Create.
After you save, Leal refreshes the pass of every customer who has it installed, so the new message reaches their phones. If you have a lot of customers, that can take a little while. The same happens when you edit or delete a location-based rule.
The reward option#
Tick Only when customer has an available reward and the message only goes on the passes of customers who have enough stamps for one of the card's rewards. Everyone else doesn't see that message.
A good setup is two rules:
- One with the reward option ticked, such as "Your {{ card.name }} reward is ready at {{ location.name }}!"
- One without it, as a general reminder, such as "Passing {{ location.name }}? Your next stamp is waiting."
When you have several rules#
Each location can only show one message on a pass. If more than one rule could apply, Leal picks in this order:
- Rules for that particular location come before All locations rules.
- Within those, the rule you created first wins.
- A rule with the reward option is skipped for customers who don't have a reward ready, and the next rule in line is used instead.
So if you want a reward rule and a general rule for the same location, create the reward rule first, or make the reward rule for that specific location and the general rule for All locations.
Gotchas#
- Stamp counts in the message can be out of date. The message is written into the pass when the pass is last updated, usually after the customer's last stamp. A count like
{{ customer_card.stamps_remaining }}is right as of then, which is fine for most stores, but avoid messages that depend on the exact time. - It counts towards your rule limit. On the Free plan, location-based rules count towards your 2 rules.
- Turning rules off and on refreshes passes. Avoid switching location rules on and off repeatedly. Each change sends a refresh to every installed pass.
Best practices#
- Keep it short and give a reason to come in now: a reward that's ready, or one stamp to go.
- Use
{{ location.name }}if you have more than one location, so customers know which shop you mean. - Don't use it for general advertising. A message that pops up every time someone walks past and says nothing new teaches them to ignore it, or to remove your pass.
Still stuck?
Our team answers every message. Contact support