After your org is provisioned, ensure that your developer integrates your mobile app with the Acoustic mobile app messaging SDK. Location administrators can access Device Location Awareness (DLA) from the Acoustic Campaign ribbon by navigating to Mobile > Device location awareness.
Before you complete the following steps, determine whether you want to use geofences, beacons, or both in your location-aware mobile campaign.
- If you use beacons, determine their location and label them accordingly. For example, fedcba98-07b1-02cb-aff9-123456789abc - John Doe's office at Acoustic Phoenix.
- Set up a site.
- On the Site list page, add a traditional site by clicking Add new site.
- Provide a name and location coordinates.
- Save the site.
- Add a zone for each geofence or beacon.
- Click the site in the site hierarchy.
- Click the Zone icon.
- Enter a name and description for the zone and then save the definition.
- Place beacons in their designated location. (Optional)
- Set up geofences.
- Specify the default radius for your organization in the Default radius field under Settings.
- Enter a default dwell time for your organization's geofences in the Default dwell time field. The dwell time determines the number of minutes that a mobile user interacts with a geofence before a dwell event is triggered.
- Set up beacons.
- Click the Beacon tab under Settings.
- Enter a default UUID code for your organization in the iBeacon proximity UUID field and add a name.
- Select a value for the Major and Minor fields. The major indicates a group of beacons within your organization and a minor reflects an individual beacon.
- Specify a default dwell time for your organization's beacons in the Default dwell time field. The default is 5 minutes. The dwell time determines the number of minutes that a mobile user interacts with a beacon before a dwell event is triggered.
- Enable personal sites.
- Add location Universal Behavior events to queries and programs.
How to organize a site hierarchy
Several factors determine how you organize a site hierarchy. These factors include your organization's business requirements and the location identification technology that your organization uses to monitor locations.
Power usage, geography, and accuracy play a role in which location service is appropriate for you. No one location service can provide the best experience in all cases, and none of the location services are exact. Each service has its own tradeoffs in power usage and accuracy. You might find that you need to deploy multiple methods to encompass your use case and provide the power usage and accuracy.
Geofence locations use GPS, wifi triangulation, and cell tower triangulation together to attempt to balance out the technology strengths and weaknesses into A-GPS (assisted global positioning system). Beacon-based fences use only the beacon protocol to locate an app user and are not directly tied to the physical location of the device or beacons. You might be able to use geofence locations in vastly differing environments, but many of the issues of physical location monitoring might lead you to consider to use beacons instead.
There are also limitations to rural and urban environments. Rural locations can have little to no wifi triangulation or cell tower triangulation available and require larger fences. Urban locations have buildings that can block GPS and cellular signals, causing difficulty in targeting exact areas; however, wifi positioning is more likely (as long as wifi routers aren't too dense). Urban canyon locations have tall buildings that pose a significant blockage to GPS and cellular signals. Beacon locations are useful in urban environments and urban canyon locations, but have a smaller range than most other technologies.
Example of a site hierarchy
You want to send a message to customers who are driving by a CityCool store with a clearance center. You want to send a different message when someone enters the parking lot of the CityCool store.
- Your location administrator defines CityCool Store as a site with the custom location attribute Clearance Center:true and adds two zones to the site: a parking lot zone with a Distance:near custom location attribute and a neighborhood zone with a Distance:far custom location attribute.
- The location administrator adds a geofence to each zone: one with a radius of 200 m for the parking lot zone and one with a radius of 500 m for the neighborhood zone. In this case, the child zones and associated geofences inherit the longitude and latitude of the parent site as well as the Clearance Center:true attribute.
- In Acoustic Campaign, you can configure a program that sends a message when a mobile device detects entries into any zone that contains both the Clearance Center:true location attribute and the Distance:near location attribute. Similarly, when a mobile user enters a zone with both the Clearance Center:true and Distance:far location attributes, you can trigger a second program to send a different message.