MatomoTracker class

Constructors

MatomoTracker()
factory
MatomoTracker.internal()

Properties

contentBase String?
getter/setter pair
currentScreenId String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
getter/setter pair
initialized bool
getter/setter pair
log → Logger
final
optOut bool?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session ↔ _Session
getter/setter pair
siteId int?
getter/setter pair
url String?
getter/setter pair
userAgent String?
getter/setter pair
visitor ↔ _Visitor
getter/setter pair
width int?
getter/setter pair

Methods

clear() → void
dispose() → void
initialize({required int siteId, required String url, String? visitorId, String? contentBaseUrl, int dequeueInterval = 10, String? tokenAuth}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOptOut(bool optout) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

dispatchEvents() → void
trackCartUpdate(List<TrackingOrderItem>? trackingOrderItems, num? subTotal, num? taxAmount, num? shippingCost, num? discountAmount) → void
trackEvent(String eventName, String eventAction, {String? widgetName, int? eventValue}) → void
trackGoal(int goalId, {double? revenue}) → void
trackOrder(String? orderId, List<TrackingOrderItem>? trackingOrderItems, num? revenue, num? subTotal, num? taxAmount, num? shippingCost, num? discountAmount) → void
trackScreen(BuildContext context, String eventName) → void
trackScreenWithName(String widgetName, String eventName) → void

Constants

kFirstVisit → const String
kLastVisit → const String
kOptOut → const String
kVisitCount → const String
kVisitorId → const String