MetricsPixel

data class MetricsPixel(val metric: String, val value: String, val conversionWindow: List<ConversionWindow>, val toggle: Toggle, val type: MetricType = MetricType.NORMAL)

Constructors

Link copied to clipboard
constructor(metric: String, value: String, conversionWindow: List<ConversionWindow>, toggle: Toggle, type: MetricType = MetricType.NORMAL)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun MetricsPixel.send()

Sends this metric pixel, handling conversion window checks, deduplication and count thresholds.