Herald for Adjust

Sends Herald events to Adjust, over adjust_sdk: events by dashboard token, purchases and ad revenue.

final tracker = AdjustAnalyticsTrackerService(
  eventTrackerFactory: CompositeAdjustEventTrackerFactory([
    TokenAdjustEventTrackerFactory([AdjustToken<CheckoutCompleted>('abc123')]),
  ]), // nothing at the end: only tokened events are sent
  propertySetterFactory: CompositeAdjustPropertySetterFactory([
    const GenericAdjustPropertySetterFactory(),
  ]),
);
final service = AdjustAnalyticsService(
  AdjustConfig('YOUR_APP_TOKEN', AdjustEnvironment.production),
);

Events are matched by type, not by name, so a renamed event keeps its token.

Adjust starts silent. start() turns Adjust off and only then starts it, so nothing is sent until setEnabled(true). Let the service start Adjust; don't call Adjust.initSdk yourself.

Adjust's plugin doesn't wait for its native side, so Herald can't report a failure that happens there.

Purchases go through AdjustRevenueEvent and RevenueAdjustEventTracker, ad revenue through AdjustAdRevenueEvent and AdRevenueAdjustEventTracker. Your factory builds them from your own events.

Documentation

It works with herald, the core, whose page lists every Herald package. The Herald website has the guides, and the repository has an example app.

Libraries

herald_adjust
Sends Herald events and properties to Adjust. See the package README for the setup.