Customers

Radar food & dining playbook

Industry-leading food & dining apps like Burger King use Radar to build contextual experiences, delight users, and increase engagement.

https://s3.amazonaws.com/io.radar.blog/playbooks/food-dining/illustration.png

In this playbook, we explain how the smartest product and marketing teams are using Radar to:

  • Change the in-app experience when a user is at a restaurant
  • Send contextual push notifications when a user is at a restaurant
  • Power order-ahead and delivery
  • Build segments based on place visits
  • Understand whether users are opening the app in a restaurant
  • And more

https://s3.amazonaws.com/io.radar.blog/playbooks/food-dining/photo.jpg


Radar overview

Radar allows you to add location context and tracking to your apps with just three steps and a few lines of code:

  1. Integrate the SDK into your app.
  2. Generate contextual events by creating Geofences, enabling Places, or enabling Insights.
  3. Handle events client-side or server-side via webhooks or integrations.

https://s3.amazonaws.com/io.radar.blog/playbooks/integration.png

For food & dining use cases, you might enable the following context types:

  • Create custom geofences with tag restaurant, tied to restaurant ID, to generate user.entered_geofence events
  • Enable Places to generate user.entered_place events for specific chains
  • Enable Insights to generate user.entered_home and user.started_traveling events

With these tools, let's get started!


Example 1: Change the in-app experience when a user is at a restaurant

After creating geofences tied to restaurant IDs or enabling Places for specific chains, you can check geofence or place state to determine if a user is at a restaurant.

You can then change the in-app experience, showing content specific to that restaurant, unlocking coupons, and so on.

https://s3.amazonaws.com/io.radar.blog/playbooks/food-dining/geofence.png

Radar.trackOnce { (status, location, events, user) in
    if user?.geofences?.contains { $0.tag == "restaurant" } {
        // user is at restaurant, change in-app experience
    }
}

https://s3.amazonaws.com/io.radar.blog/playbooks/food-dining/places.png

Radar.trackOnce { (status, location, events, user) in
    if user?.place?.hasChain("mcdonalds") {
        // user is at McDonald's, change in-app experience
    }
}

Contextual in-app experiences can improve the user experience and increase engagement.

Example 2: Send contextual push notifications when a user is at a restaurant

You can send push notifications in a marketing automation integration like Braze, Iterable, Urban Airship, or Leanplum, or in a custom webhook.

For example, you can trigger a push notification when a user enters a geofence with tag restaurant or enters a place with chain mcdonalds. In Braze:

https://s3.amazonaws.com/io.radar.blog/playbooks/food-dining/braze.png

Contextual push notifications can increase engagement and increase spend.

Example 3: Power order-ahead and delivery

You can also power order-ahead and delivery, listening for events server-side with a webhook, Google or Firebase Cloud Function, or AWS Lambda Function:

app.post('/webhooks/radar', (req, res, next) => {
    const event = req.body.event;
    if (event.type === 'user.entered_geofence' &&
        event.geofence.tag === 'restaurant') {
        // user is near store, trigger pickup flow
    }
});

Automated check-in can improve the user experience and automate operations.

Example 4: Build segments based on place visits

You can build segments in a customer data platform integration like Segment or mParticle, export events from the Radar dashboard, or send events to AWS Redshift, Google BigQuery, or another data warehouse through a custom webhook.

For example, you can build a segment of users who performed the event user.entered_place with chain mcdonalds more than 3 times in the last 30 days. In mParticle:

https://s3.amazonaws.com/io.radar.blog/playbooks/food-dining/mparticle.png

Personalization with segments can improve the user experience and increase engagement.

Example 5: Understand whether users are opening the app at a restaurant

Finally, you can enrich behavioral events like app installs, app opens, searches, or purchases with location context using behavioral analytics integrations like Amplitude and Mixpanel.

For example, you can enrich app open events with geofence state to understand whether users are opening the app at a restaurant.

Enriching behavioral events with location context can help you understand how users engage with your app in the real world.


These are just a few examples of ways that you can use Radar to build contextual experiences, delight users, and increase engagement.

Ready to take your food & dining app to the next level? Sign up or contact our sales team. We can't wait to see what you'll build.


See our other industry playbooks for more examples and inspiration: