Interface IGa4MeasurementTracker
- Namespace
- Ga4.Trackers.Ga4Measurements
- Assembly
- VpnHood.Net.Toolkit.dll
Represents a tracker that sends Google Analytics 4's Measurement Protocol events.
public interface IGa4MeasurementTracker : ITracker
- Inherited Members
Methods
Track(IEnumerable<Ga4MeasurementEvent>, CancellationToken)
Sends events.
Task Track(IEnumerable<Ga4MeasurementEvent> ga4Events, CancellationToken cancellationToken)
Parameters
ga4EventsIEnumerable<Ga4MeasurementEvent>The events.
cancellationTokenCancellationTokenThe token to monitor for cancellation requests.
Returns
- Task
A task that represents the asynchronous operation.