Skip to main content

Verify iOS in-app purchases

To ensure we don't count cancelled or duplicated in-app purchases forwarded from your app, we validate each purchase in the justtrack backend. To make this possible for iOS apps, you must provide a 32-character, hexadecimal shared secret. Using this secret, we then can accurately track purchases made by your users and display the correct revenue for your app.

Look up your shared secret

There are two types of shared secrets you can configure for your iOS account:

  • App-specific: This is used only for the app for which it's configured.
  • Global: This is used if no app-specific secret is configured.

App-specific shared secret

info

If you prefer to use your global shared secret, you can skip this section.

In App Store Connect:

  1. Click App Information
  2. Under App-Specific Shared Secret, click Manage
Location of the app-specific shared secret

If you don't have an app-specific shared secret configured, generate one:

Generating an app-specific shared secret

Now, you're presented with the 32-character, hexadecimal shared secret. Copy this so you can pass this to the justtrack platform in the next section.

Global shared secret

info

If you already have an app-specific shared secret, you can skip this section.

In App Store Connect:

  1. Click Users and Access
  2. Click Shared Secret
  3. Generate a new shared secret or find your existing secret
Global shared secret for your App Store Connect account.

Copy this so you can pass this to the justtrack platform in the next section.

Configure your shared secret in justtrack

To get your in-app purchases verified and tracked by justtrack you need to enter a shared secret for your app. This can be an app-specific or global secret.

In justtrack, navigate to Admin > Apps:

Navigate to apps

Here, you'll find the list of apps connected to your justtrack account. Next to the app for which you want to verify purchases, click See Details.

Now, you're in the App Hub. From here, you can configure how you monetize your app. On the Monetization card, click Manage Integration:

Manage monetization integrations

On the Monetization page, click Purchase Verification Credentials:

Purchase verification credentials

Here, you'll paste the secret you copied in the last section. In the App Hub, you'll see an indication that you've successfully set up in-app purchase tracking. You can now start forwarding in-app purchases from the iOS or Unity justtrack SDKs and you'll see the revenue you make from them on the justtrack dashboard.