In-app App Store subscriptions
App Store Shared Secret and App Store Server Notifications are used to track App Store subscription statuses. You may skip using App Store Server Notifications to track subscriptions in AppMetrica (for example, if you use an additional subscription status tracking service). However, in this case, subscription data may be delayed by up to 24 hours. Some of the subscription events will also be unavailable.
Address for notifications: https://apple.inapp.appmetrica.yandex.net.
App Store Shared Secret
AppMetrica uses a key for validating, decrypting the recipe, and checking the subscription status.
- Open App Store Connect, go to Apps, and select your app.
- In the Features section on the left, go to Subscriptions.
- On the page, find the App-Specific Shared Secret section and click Manage.
- Create and copy a Shared Secret.
- In the AppMetrica interface, go to your app's settings, the Revenue section.
- Insert the Shared Secret for the app in the App Store Shared Secret field.
App Store Server Notifications
Apple enables you to connect "server-to-server" notifications, so you can receive information about subscription status changes. To do this, you need to configure notifications from App Store Server Notifications:
- Copy the URL for App Store server notifications (https://apple.inapp.appmetrica.yandex.net) or that from the AppMetrica interface (Settings → Revenue).
- Open App Store Connect, go to Apps, and select your app.
- In the General section on the left, go to App Information.
- At the bottom of the page that opens, in the App Store Server Notifications block, click Edit next to Production Server URL.
- In the Production Server URL field, enter the URL from AppMetrica.
- In the form below, select Version 2 Notifications and click Save.
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.