Location Messages

Location messaging enables you to deliver targeted notifications to users based on their physical location. Using geofences and Bluetooth beacons, you can trigger messages when users enter specific geographic areas or come near beacon devices, creating contextual and personalized mobile experiences.

The Marketing Cloud SDK supports two types of location-based messaging:

  • Geofence Messaging - Trigger notifications when users cross virtual boundaries around geographic locations
  • Beacon Messaging - Trigger notifications when users come within proximity of Bluetooth beacon devices

Key Features 

The SDK provides location messaging capabilities that include:

  • Caching geofence and beacon messages for offline delivery
  • Background location monitoring for geofence triggers
  • Proximity detection for beacon-based messaging
  • Message segmentation to show location messages to specific user subsets
  • Background refresh of location regions and messages
  • Debug logging for troubleshooting location features

Location messaging requires user permission for location services and, for beacon messaging, Bluetooth permissions. Your Marketing Cloud Engagement admin must also enable your account with access to MobilePush and Location Services.

Platform-Specific Implementation 

Implement location messaging on iOS to enable geofence and beacon features, configure background location updates, and segment location messages based on user attributes or app state.

Implement location messaging on Android to add geofence and beacon support with the required dependencies, permissions, and SDK configuration for location-based notifications.