mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 01:48:32 +02:00
adding GA4 properties to Segment analytics events (#1253)
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import * as params from '@params';
|
||||
import { setCookie } from './helpers';
|
||||
import { setSegmentWriteKey } from './segment-helpers';
|
||||
|
||||
if (params.segmentWriteKey) {
|
||||
setSegmentWriteKey(params.segmentWriteKey);
|
||||
}
|
||||
|
||||
if (params.gaMeasurementId) {
|
||||
setCookie('ga_measurement_id', params.gaMeasurementId, 365);
|
||||
}
|
||||
Reference in New Issue
Block a user