AttributionOptions class
Options for the autocapture attribution 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(
attribution: AttributionOptions(
excludeReferrers: ['example.com'],
initialEmptyValue: 'NONE',
resetSessionOnNewCampaign: true,
),
),
)
);
- Inheritance
-
- Object
- Attribution
- AttributionOptions
Constructors
-
AttributionOptions.new({List<
String> ? excludeReferrers, String? initialEmptyValue = 'EMPTY', bool? resetSessionOnNewCampaign = false}) -
Web specific
const
Properties
-
excludeReferrers
→ List<
String> ? -
Web specific
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialEmptyValue → String?
-
Web specific
final
- resetSessionOnNewCampaign → bool?
-
Web specific
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited