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.

Geofence triggers

A geofence is a custom geographical region that you specify. Triggering your campaign by geofence means the user will receive the campaign the moment they enter (or exit) a geofence region.


Works with push and in-app messages

Make sure the first action in your campaign is a push notification or in-app message — otherwise you won't be able to trigger the campaign by geofence.

Use geofence triggers

To use geofence triggering in Leanplum:

  1. First, ensure you have location services set up in your app.
  2. When setting up your campaign, go to the Delivery tab and select Triggered delivery. Select "User enters custom region" or "User exits custom region" as your trigger.
  3. Now specify your region — click "Region" and select a predefined region from the dropdown. Or, to create a new region, go to "Custom Regions" under "More" in the navigation.

Learn more about managing custom regions here


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.

Updated about a month ago

Geofence triggers

Suggested Edits are limited on API Reference Pages

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