Android Purchase Attribution in Basic Integration Mode
Magify uses dedicated base campaign and event names for external purchases when Basic Integration mode is enabled.
Enable Basic Integration mode
Enable the mode during SDK setup:
magify.isBasicIntegration = true
magify.initSdk {
/* initialized */
}
magify.initialSetup()
Track external purchases
Track purchases that are not linked to a Magify campaign using the corresponding external purchase methods.
In-app purchase
magify.trackExternalInApp(
productId = "coins_1000",
price = "4.99",
currency = "USD"
)
Subscription
magify.trackExternalSubscriptionActivation(
isTrial = false,
productId = "premium_monthly",
price = "9.99",
currency = "USD"
)
Attribution names
Magify selects the attribution names automatically:
No additional client-side changes are required. Do not pass these campaign or event names manually.