Purchase Event
Track when users make in-app purchases in Angular
Use sendCustomPurchaseEvent
to send a purchase event when a user completes an in-app purchase.
await this.audienceLab.sendCustomPurchaseEvent(
"item123",
"Premium Upgrade",
9.99,
"USD",
"completed"
);
Prop | Type | Default |
---|---|---|
status | string | - |
currency | string | - |
value | number | - |
name | string | - |
id | string | - |
Purchase events help attribute revenue to campaigns and creatives, enabling optimization of your monetization funnel.