App keys are the best way to segregate data in Localytics for different platforms or test
environments.
We recommend the following methodology with regard to app keys:
Production Apps
- Create one app key for each production app on each platform. If you have an app
with iOS and Android versions you should have two production app keys.
- Name the production apps with a flag, such as [Production]. You can always
rename apps if you haven't already done this.
- Use the app settings to assign icons to the production apps.
- Incorporate a check of the Localytics app key into your
release criteria to guarantee apps shipped to the store never have the wrong
key.
Test Apps
- Create many test apps. There is no reason to restrict your ability to test.
- Delete old test apps. Cluttered app lists increase the likelyhood of making
mistakes.
- Developers should only ever use test keys.
- Production app keys are only for production.
-
Log in to the Localytics
Dashboard.
-
At the bottom of the navigation bar, click
Settings.
-
Click Create an App.
-
Enter the app's name. Choose its platform, category, and time zone. Upload an
icon to help you track it.
-
Enter the Facebook
App ID.
-
Choose whether you will track customer value as US cents or as raw
values.
-
Enter any custom dimensions.
-
Click Save.