Set it up
- Connect your Apple or Google Play app in Apps & API keys.
- Open Integrations → Firebase and select the store app.
- Enter the Firebase App ID of its native data stream and a Measurement Protocol API secret.
- Choose the currency for amounts: the original purchase currency or USD.
- Save.
Amounts are the verified gross store amounts.
Report the app instance ID
Google needs the Analytics app instance ID of the device. After analytics consent, send a firebase_identity event through the Aplyna SDK with the customer's exact App User ID, before the purchase.
Test it
Turn on Send Sandbox events to DebugView, enter the app instance ID of your test device and send a test. Look for aplyna_integration_test in Google Analytics DebugView.