Registers an event in Adjust SDK.
The data object supports properties that map to native AdjustEvent setters
for richer tracking on the Adjust dashboard.
| Property | Type | Description |
|---|---|---|
revenue |
number |
Revenue amount (requires currency) |
currency |
string |
ISO 4217 currency code (requires revenue) |
orderId |
string |
Order/transaction ID for revenue deduplication (setOrderId on Android, setTransactionId on iOS) |
productId |
string |
IAP product identifier |
deduplicationId |
string |
General event deduplication ID |
callbackId |
string |
Custom ID sent in success/failure callbacks |
purchaseToken |
string |
Google Play purchase token (Android only, ignored on iOS) |
partnerParameters |
Record<string, string> |
Key-value pairs forwarded to ad-network partners |
callbackParameters |
Record<string, string> |
Key-value pairs forwarded to server callbacks |
Example:
const modules = await Eitri.modules();
const logEvent = modules?.adjust?.logEvent;
if (!logEvent) return;
// Revenue event with callback and partner parameters
await logEvent({
eventName: "def456",
data: {
revenue: 29.99,
currency: "BRL",
orderId: "order-789",
productId: "sku-001",
callbackParameters: { page: "/checkout", step: "confirmation" },
partnerParameters: { campaign_id: "camp_42" }
}
});
Object describing the event.
Object describing the event's data. See properties above.
Adjust event token (configured in the Adjust dashboard).
Collection of functions responsible for tracking user activity in an Eitri-App using Adjust SDK.
Requirements: This feature must be enabled in the Eitri Shopping App native configuration by setting
adjustAppTokenin the app configuration file.