The Geofencing add-on allows you to define geographical areas within which the dispatch of notifications to your app users will be automatic.
This free add-on is available with the Full and Advanced plans. Install it from the Add-On store by clicking on the green button « + Free ».
You have 3 geofences included with the Full plan, and 6 geofences included with the Advanced plan. If needed, you can buy extra geofences once you have used up your free geofences.
1. Setting up a geofence
In your Users menu (left swipe menu of the back office) you will now find a new GeoAlert section, with two submenus: Notifications and Geofences.
Start by entering a geofence in the Users menu > GeoAlert > Geofences.
Fill in the name you wish to give your geofence, as well as its location by entering an address or by directly drawing a circle on the map.
You can then edit the radius and move the circle around if necessary.
Once you are through, click on the Add button in order to save your geofence.
Your geofence has now been set up.
You can see the name you’ve assigned to it, its radius, its address, the number of notifications sent out, its status.
In the example below, the number of notifications is 0 and the state is inactive because you haven’t yet set up a notification assigned to that geofence.
2. Setting up a notification assigned to a geofence
This is the next step!
The rule for that kind of notification is first set up like you would for a traditional push in the menu Users > GeoAlert > Geofences by entering the message's content, selecting an action upon opening the app, defining the sound when receiving the message, the display or not of the Apple badge on iOs devices, and the possibility to target recipients.
For more details on that subject, see the online help "How to use push notifications ".
3. Choose the kind of geolocation
You then have to choose what kind of geolocation applies.
Define when the user will receive the notification:
- Upon entering the area
- Upon exiting the area
- When dwelling in the area: you will have to define a minimum amount of presence in the area. In the example below, the user will receive the notification only if he stays in the area for at least 15 minutes.
You can also define a periodicity for push notifications to be sent out :
- During business hours (by defining the days and time slot of your choosing)
- During a specific time lapse (a beginning and an end)
It’s also possible to arrange for the user to receive the notification on several occurrences, and to define if he receives it as soon as he re-enters the area, or after a certain time lapse.
Finally, you must choose a geofence from the drop-down menu.
Select the geofence you have set up and click on the Create button below the preview
Your notification is now saved.
You can activate or deactivate it, edit the push message settings, edit the geofence and also have a look at the opening statistics.
4. Be careful when submitting your app to Apple
If you enable the add-on geofence, you must have at least one active geofence with a green badge before submitting your app to Apple.
It is a rejection motive to submit an app with this add-on installed but not activated.
If you're not sure yet to use this feature, remove the geofence add-on (Add-ons > Management) it must be removed completely from your add-ons, not just deactivated, then rebuild your app to submit it to Apple.
5. Update of the notification
If you create or update a new notification links to a Geofence, you will need to kill the app and launch it again in order to apply it.