EventType enum
Standard attribution events supported by the SDK.
The enum values follow the widely adopted SNAKE_CASE notation used by
mobile measurement partners (MMPs). The value sent over the wire is
rawValue (e.g. EventType.addToCart.rawValue → "ADD_TO_CART").
For events that have synonymous names (e.g. signUp/register), both variants are provided to maximize compatibility with existing integrations.
Values
- install → const EventType
-
User installs the app (tracked automatically by the SDK).
Passing this to
sendEventhas no effect: both native SDKs discard a manual install event so it cannot inflate install counts.const EventType('INSTALL') - login → const EventType
-
User logs in to an existing account.
const EventType('LOGIN') - signUp → const EventType
-
User signs up for a new account.
const EventType('SIGN_UP') - register → const EventType
-
Alias for signUp – kept for compatibility with some MMPs.
const EventType('REGISTER') - purchase → const EventType
-
User completes a purchase (often includes revenue & currency).
const EventType('PURCHASE') - addToCart → const EventType
-
Item added to the shopping cart.
const EventType('ADD_TO_CART') - addToWishlist → const EventType
-
Item added to the wishlist.
const EventType('ADD_TO_WISHLIST') - initiateCheckout → const EventType
-
Checkout process started.
const EventType('INITIATE_CHECKOUT') - startTrial → const EventType
-
User starts a free trial.
const EventType('START_TRIAL') - subscribe → const EventType
-
User subscribes to a paid plan.
const EventType('SUBSCRIBE') - levelStart → const EventType
-
User starts a new level (games).
const EventType('LEVEL_START') - levelComplete → const EventType
-
User completes a level (games).
const EventType('LEVEL_COMPLETE') - tutorialComplete → const EventType
-
User completes the onboarding tutorial.
const EventType('TUTORIAL_COMPLETE') - search → const EventType
-
User performs a search in the app.
const EventType('SEARCH') - viewItem → const EventType
-
User views a specific product or item.
const EventType('VIEW_ITEM') - viewContent → const EventType
-
User views generic content (e.g. article, post).
const EventType('VIEW_CONTENT') -
User shares content from the app.
const EventType('SHARE') - custom → const EventType
-
Custom application-specific event not covered above.
const EventType('CUSTOM')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - rawValue → String
-
The SNAKE_CASE value sent to the native SDKs (e.g.
"ADD_TO_CART").final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited