Skip to main content

Purchase Validation

GameAnalytics offers server-side purchase validation to help you ensure that in-app purchases (IAP) are genuine and not the result of tampering or fraud. This feature verifies transactions with the app stores and logs Business Events accordingly, giving you more reliable monetization data and insight into spoofed purchases.

How to implement purchase validation

info

Refer to the SDK Documentation for code examples specific to your platform. Purchase validation only functions on iOS and Android platforms.

To enable purchase validation, you’ll need to:

  1. Capture the purchase receipt when the transaction is made. (Some SDKs automatically capture the purchase receipt from the app store.)
  2. Use the appropriate SDK method to send the receipt to GameAnalytics.
  3. GameAnalytics will validate the receipt with the store and log the associated Business event with a special Dimension called Receipt Status.