trackConversion abstract method
Future<void>
trackConversion(
- int goalId, [
- double? revenue,
- bool negative = false,
- List<
CustomData> metadata = const [],
Tracks a conversion for the specified goal using trackConversion()
.
goalId
(required): The goal to track.revenue
(optional, default:0
): Revenue value associated with the conversion.negative
(optional, default:false
): Indicates whether the conversion should be considered negative.metadata
(optional, default:[]
): Additional metadata related to the conversion.
This method does not return a value and executes asynchronously.
Implementation
Future<void> trackConversion(
int goalId, [double? revenue, bool negative = false, List<CustomData> metadata = const []]
);