The Digital2Go Android and iOS SDKs enable location-based marketing via geofencing and beacons inside your mobile app.
SET UP YOUR BACKEND
In order to fully use our SDKs, you must be registered as a developer with Digital2Go and have access to the developer section of the platform. To login or register for the platform, click here.
You’ll need to register a new app on the Digital2Go platform. To do this, in the sidebar, go into
Developer -> Apps and select
Add a new App. You’ll be asked to enter a brief description of your application.
For push notifications, you’ll need to provide a Firebase Cloud Messaging key for Android and a p12 certificate for iOS. For information on how to obtain a p12 certificate, check out this detailed tutorial.
To register a beacon on the D2GO platform, using the side navigation bar, go into
Customer -> Inventory -> Beacons -> Add a single Beacon and fill in all the necessary fields. The Beacon Minor is the number assigned to your D2GO Beacon. You can find this number on the back of your beacon (as demonstrated below); it’s typically a 4-digit number.
To begin a new proximity marketing campaign, using the side navigation bar, go into
Customer -> Marketing Manager -> Campaigns -> New Beacon.
Make sure you enable the campaign to be active upon creation. In order for the campaign to be visible by all devices, we recommend you enable the 3 proximity views for the campaign (as demonstrated below).
To register a new coverage area, using the side navigation bar, go into
Customer -> Marketing Manager -> Campaigns -> New Coverage Campaign. Fill in all the necessary fields, enable the campaign to be active, and then click
Add Coverage Area. Upon clicking
Add Coverage Area, a Geofence Creation Wizard should appear (as seen below).
Upon selecting the type of coverage, you will be prompted to select a country and state for the coverage area.
If you select Geofence Coverage or Custom Coverage, you will be redirected to a Geofence Creation Tool (shown below).
To create a new geofence on the map, you can either enter a specific address and click
Add Circle At Address to generate a circle around it or select a polygon, circle, or rectangle to add to the map. If you are not satisfied with the geofence figure on the map, you can zoom in on the map to better locate the area.