herald_adjust library
Sends Herald events and properties to Adjust. See the package README for the setup.
Classes
- AdjustAdRevenueEvent
-
Ad revenue, in the fields Adjust's ad revenue tracking takes. Built by your Adjust factory and
sent with
AdRevenueAdjustEventTracker. - AdjustAnalyticsService
- Adjust's lifecycle, identity and consent.
- AdjustAnalyticsTrackerService
- Sends events and properties to Adjust, as its factory chains decide. The calls for one event run in order, and if one fails the rest don't run. Anything no factory claims isn't sent.
- AdjustEventTracker
- One call to Adjust for one event. A factory builds it.
- AdjustEventTrackerFactory
-
Decides what Adjust gets for an event:
Claimedwith the calls to make,Droppedto send nothing, orDeclinedto let the next factory decide. - AdjustPropertySetter
- One call to Adjust for one property. A factory builds it.
- AdjustPropertySetterFactory
- AdjustRevenueEvent
- A purchase, in the fields Adjust's revenue tracking takes.
-
AdjustToken<
E extends Event> -
The Adjust dashboard token for events of type
E:AdjustToken<SignUpCompleted>('abc123'). - AdRevenueAdjustEventTracker
- Sends ad revenue. Unlike events, it needs no dashboard token.
- CompositeAdjustEventTrackerFactory
-
Asks each factory in order and uses the first answer that isn't a decline. If all decline,
nothing is sent. Throws an ArgumentError if a
FallbackFactoryisn't last. - CompositeAdjustPropertySetterFactory
-
Asks each factory in order and uses the first answer that isn't a decline. If all decline,
nothing is sent. Throws an ArgumentError if a
FallbackFactoryisn't last. - GenericAdjustPropertySetter
- Adds property as a global callback parameter, as text, so Adjust attaches it to every later event.
- GenericAdjustPropertySetterFactory
-
Adds any property as a global callback parameter. Adjust has no user profile, so this covers
UserPropertytoo. Claims everything, so it belongs last in a chain. - RequireMappedAdjustEventTrackerFactory
- Fails for any event that reaches it, so the error reporter shows events nobody mapped. Put it last in a chain.
- RequireMappedAdjustPropertySetterFactory
- RevenueAdjustEventTracker
- TokenAdjustEventTracker
- Sends event under eventToken. Its name isn't sent: the token identifies the event.
- TokenAdjustEventTrackerFactory
-
Sends each event that has a token in
tokensunder that token, and declines the rest:
Extensions
-
AdjustParameters
on Map<
String, AnalyticsValue>