PageViewsOptions class

Options for the autocapture pageViews feature.

Currently configuring autocapture options is only supported on Web. Refer to docs for more details.

Example usage:

var analytics = Amplitude(
    Configuration(
        apiKey: 'your_api_key',
        autocapture: AutocaptureOptions(
            pageViews: PageViewsOptions(
               trackHistoryChanges: 'all',
               eventType: '[Amplitude] Page Viewed',
            ),
        ),
    )
);
Inheritance

Constructors

PageViewsOptions.new({String? trackHistoryChanges = 'all', String? eventType = ''})
Web specific
const

Properties

eventType String?
Web specific
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackHistoryChanges String?
Web specific
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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