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
If you prefer to use your global shared secret, you can skip this section.
- Click App Information
- Under App-Specific Shared Secret, click Manage
If you don't have an app-specific shared secret configured, generate one:
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
If you already have an app-specific shared secret, you can skip this section.
- Click Users and Access
- Click Shared Secret
- Generate a new shared secret or find your existing secret
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:
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:
On the Monetization page, click 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.