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.
To use geofence triggering in Leanplum:
- First, ensure you have location services set up in your app.
- 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.
- 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: https://docs.leanplum.com/docs/custom-regions
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 4 months ago