Prerequisites
Before continuing, make sure you have:- Completed the Superwall setup guide
- Set up App Store Connect
- Created iOS products in App Store Connect
- Set up testing environments with iOS sandbox testing
Configure revenue tracking
1
Set up App Store Server Notifications
- In App Store Connect, navigate to your app
- Go to App Information tab
- Scroll down to find App Store Server Notifications
- For both Production URL and Sandbox URL fields:
- In Superwall dashboard, go to Settings > App Store Connect
- Copy the URL provided next to “App Store Server Notifications URL” by clicking the copy button
- Paste this URL into the App Store Connect fields
- Click Save in App Store Connect
This setup forwards subscription events from App Store Connect directly to Superwall, enabling accurate tracking of subscription statuses and renewals.
2
Navigate to App Store Connect
- Navigate to App Store Connect
- Click on Users and Access
3
Access In-App Purchase Section
- Click on Integrations at the top
- Under Keys, choose In-App Purchase
4
Create and download key
- Click on + to create a new key if you don’t have one
- Add a name (e.g., “Superwall Integration”) and click Generate
- Click on Download In-App Purchase Key for the new key
- On the resulting modal, click Download
You can reuse the same key for all apps falling under the same App Store Connect account. If you no longer have access to a previously downloaded P8 key file, simply create a new one.IMPORTANT: You only have one chance to download the key file. Make sure to save it in a secure location.
5
Configure In-App Purchase in Superwall
- In Superwall dashboard, go to Settings > App Store Connect
- Upload the P8 key file you downloaded in the previous step under “P8 Key File”
- Fill in the Bundle ID of your app
- Enter the Key ID of the key you created in App Store Connect
- You can find this in the “Key ID” column shown in the key listing
- Locate the row for the key you made and copy the corresponding Key ID
- For Issuer ID, fill in the value found at Users and Access > Integrations > In-App Purchase in App Store Connect
- Click on Update and confirm everything is set up correctly
6
Create API key in App Store Connect
- In App Store Connect, go to Users and Access > Keys
- Click + to add a new key
- Enter a name for the key (e.g., “Superwall API Integration”)
- Under Access, select the checkbox for App Manager access
- Click Generate
- Download the P8 key file when prompted - this is your only chance to download it
Store the downloaded P8 file securely - you won’t be able to download it again.
7
Configure App Store Connect API in Superwall
- In Superwall dashboard, go to Settings > App Store Connect
- Under App Store Connect API, click Upload next to “P8 Key File”
- Select the P8 key file you downloaded from App Store Connect
- Enter the Key ID from the key you just created
- For Issuer ID, use the same value as the previous setup
- Click Update
After configuration, Superwall will be able to automatically pull product data from App Store Connect.
Your Superwall revenue tracking is now configured for iOS. You can proceed to configure products, entitlements, and paywalls.
Next steps
After completing revenue tracking setup, continue with:- Configure Superwall products for iOS - Set up entitlements, products, and paywalls