In this recipe

Improve your app’s location permission opt-in rate by asking the user for permission at the right time and with the right message. You only get one chance to use the iOS location permissions system dialog with each user, so make sure to ask the question first using an in-app message and only show the system dialog if they are willing to opt in.

Requesting Location Permissions
Requesting Location Permissions

Campaign Tool

In-app message

Who to Target

New and Engaged users

When to Target

For New users, plan to run this campaign early in the first session, after their first action or two.

For Engaged users, the ideal time to prompt the user is when you can establish some specific value for opting in. For example, if you have a fitness app and you just asked the user if they’d like to record their distance, then it would be a good time to prompt them to give you permission to use their location. You can establish in their mind why they should give the app permission to use their location, and describe it in the message.

For users who have opted out of location services, send them an in-app message the next time they try to use a feature that requires the location, indicating that their location services are disabled and they should go to Settings > [app_name] > Location > [something other than Never]. Provide a deeplink to this page if possible.

What to Test and Optimize

You can optimize the effect the visual presentation of your message has on users by A/B testing the text and imagery of the in-app message. You can also test the call-to-action text on the buttons.

What to Measure

  • Click-through rate on your in-app message
  • Location opt-in rate

How to run this Campaign in Swrve


  • New users: On the User Lifecycle dashboard, in the top right corner of the New user lifecycle card, click the menu and and select Create In-App Campaign.

  • Engaged users: On the User Lifecycle dashboard, in the top right corner of the Engaged user lifecycle card, click the menu and select Create In-App Campaign.

  • On the Set Target screen, create an audience filter, and on the Properties tab, filter by users who do not have location permissions enabled.


  • For New users, trigger this message to show a few seconds after app startup.


  • For Engaged users, find the key event where you can associate value with allowing location services; for example, right after opting in to some feature.


Using an in-app message, ask them if the app can use their GPS/Location. Include a ‘Yes’ and ‘No’ option.

  • If they click ‘Yes’, then redirect to the location permissions request dialog on iOS. The deeplink should look something like my_app://permission=location.
  • If they click ‘No’, then dismiss the message

Copy/creative ideas

  • Try using different copy to explain why they should share location permissions.


  • Copy
  • Art
  • Button Copy
  • Timing of Messages