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.

  1. App Store Shared Secret
  2. App Store Server Notifications

App Store Shared Secret

AppMetrica uses a key for validating, decrypting the recipe, and checking the subscription status.

  1. Open App Store Connect, go to Apps, and select your app.
  2. In the Features section on the left, go to Subscriptions.
  3. On the page, find the App-Specific Shared Secret section and click Manage.
  4. Create and copy a Shared Secret.
  5. In the AppMetrica interface, go to your app's settings, the Revenue section.
  6. 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:

  1. Copy the URL for App Store server notifications (https://apple.inapp.appmetrica.yandex.net) or that from the AppMetrica interface (Settings → Revenue).
  2. Open App Store Connect, go to Apps, and select your app.
  3. In the General section on the left, go to App Information.
  4. At the bottom of the page that opens, in the App Store Server Notifications block, click Edit next to Production Server URL.
  5. In the Production Server URL field, enter the URL from AppMetrica.
  6. 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.