Optional end: DayjsThe end of the campaign. (inclusive) OPTIONAL if provided via an object as first argument.
Optional aggregationPeriodLength: numberThe length of the aggregation period in number of days. At the end of a period, the aggregated data will be sent to the analytics server. OPTIONAL if provided via an object as first argument.
Optional numberOfPeriods: numberOptional onlyRecordOnce: booleanOptional eventAggregationRule: EventAggregationRuleOptional strengthenAnonymity: booleanReturns the current measurement period, aka. the period where NOW is in.
If NOW is outside any possible period, because the campaign hasn't started,
yet, or already ended, will return null.
The first period is defined as aggregationPeriodLength number of days after
the start of the campaign.
Apply the eventAggregationRule to the given event with the given value.
The event to apply the value to.
Optional value: numberThe value to apply.
Generated using TypeDoc
The start of the campaign. (inclusive)