SKAdNetwork Conversion Value Calculator.
Encode and decode SKAdNetwork 4 fine conversion values (6 bits) with your own schema and coarse mapping.
Runs in your browserAbout SKAdNetwork Conversion Value Calculator
SKAdNetwork lets an iOS app report what a user did after an ad install without identifying them, but it gives you only 6 bits for that in the first postback window: a fine conversion value from 0 to 63. Later windows carry just a coarse value of low, medium or high. Most teams pack several signals into those bits, for example three bits for a revenue bucket and one bit each for registration, trial start and purchase, and then lose track of which number means what. This calculator keeps the mapping explicit. Describe your schema one field per line, with the most significant bits first, as name:bits or name:bits followed by labels such as none|<1|1-5. In encode mode, enter a value or label for each field and get the fine value in decimal and binary, the coarse value from your own thresholds and a ready Swift call to SKAdNetwork.updatePostbackConversionValue. In decode mode, enter a fine value from a postback and see what each field meant. With the example schema, revenue 1-5, registered and purchase give binary 010101, which is fine value 21. A reference table lists the three SKAdNetwork 4 postback windows and when each postback is sent. Mistakes this avoids: schemas that need more than 6 bits, labels that do not fit the bit width, reading a postback with the bit order reversed, and forgetting that conversion values should only increase within a window unless you deliberately lower them. Apple does not prescribe any schema; it is your design. The calculator runs in your browser.
How to Use
- Write your schema, one field per line from the highest bits to the lowest.
- In encode mode, enter each field's value; in decode mode, enter a fine value from a postback.
- Copy the fine value, coarse value or Swift call into your app or reporting.
Frequently Asked Questions
How many bits does a fine conversion value have?
Six, so values range from 0 to 63. Only the first postback (days 0–2) can carry a fine value, and only when the install meets Apple's crowd anonymity threshold; otherwise you receive the coarse value.
What are coarse values?
Coarse values are low, medium and high. They are used in postbacks 2 and 3 and when crowd anonymity is too low for a fine value. How fine values map to coarse values is up to you, which is why the thresholds are inputs here.
In which order are the bits read?
The first line of the schema takes the highest bits. With revenue:3 first, revenue occupies bits 5–3 and the last one-bit field is bit 0.
Does Apple require a specific schema?
No. The bit layout is your own choice; ad networks and MMPs often provide a configuration UI for it. Keep a copy of the schema next to your reporting code.
Related Tools
Work out MRR, ARR, churn, retention, LTV, CAC payback and trial conversion for a subscription app.
See what you keep from an App Store or Google Play sale after tax and the 15% or 30% commission.
Convert numbers between bases (2–36).
Generate PrivacyInfo.xcprivacy with required-reason APIs and collected data, plus Info.plist usage descriptions.
Check a deep link or Universal Link, build Android intent and adb/simctl test commands, and scan it as a QR code.
Generate apple-app-site-association and assetlinks.json, and validate the files your domain serves.