Table of Contents

Class AdjustModule

Namespace
Titipi.MocaLib2

Wraps the Adjust SDK for attribution tracking, event reporting, ad revenue, and purchase validation.

public static class AdjustModule
Inheritance
AdjustModule
Inherited Members

Properties

Config

The config used to initialize this module.

IsInitialized

Whether the module has been successfully initialized.

Initialization

InitializeAsync(AdjustModuleConfig)

Initializes the Adjust SDK in Production mode with background sending and deferred deep link support enabled. Returns false if the platform-specific app token is missing.

Methods

LogAdRevenue(AdImpressionData)

Reports an ad impression to Adjust for LTV measurement.

LogEvent(string)

Tracks an Adjust event by its dashboard token.

LogEvent(string, Dictionary<string, object>)

Tracks an Adjust event with mixed-type callback parameters. All values are converted to strings before being sent to the Adjust SDK, which only accepts string callback parameters.

LogEvent(string, Dictionary<string, string>)

Tracks an Adjust event with additional callback parameters attached.

LogPurchase(Product, string, string)

Validates and tracks an in-app purchase with Adjust. receipt is the raw Unity IAP receipt string (order.Info.Receipt); on Android the purchase token is extracted from it for Play Store validation. On iOS, the transaction ID is used for App Store validation. Requires an adjustEventToken mapped to a Revenue event in the Adjust dashboard.