Leanplum's user guides and developer documentation.

Leanplum Documentation

Leanplum's user guides, SDK setup, API docs, and more resources are here to help you get the most out of A/B testing, Campaigns, Messaging, and Analytics.

Message users when they enter or exit a geofence region

Leanplum allows you to create custom geofences to be used for triggering push notifications and in-app messages. Make sure you have our location services set up in your app before using this feature.

๐Ÿ“˜

iOS limits the number of locations that an app can save to 20, however, our SDK manages this for you by only storing the nearest 20 locations to each user's device at any given time. This way, you can have more than 20 locations saved in Leanplum, but your users will only have the 20 most relevant to them (i.e. the closest).

To create and use a geofence, do the following:

  1. Select your message type and targets.

  2. For a push notification, select Triggered locally as the delivery option, and select the User enters region or User exits region trigger. For an in-app message, select the User enters region or User exits region trigger as the Display When trigger.

๐Ÿ“˜

Locally triggered push notifications do not work with our Quiet Hours feature. This is because the send is controlled by the local trigger, and not Leanplum's servers.

Learn more about managing regions.

Updated 6 months ago


Message users when they enter or exit a geofence region


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.