mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 09:58:30 +02:00
* remove cookit (styling and logic), introduce segment load snippet directly into <head>, no consent for loading, add onetrust consent snippet and logic * simplify register call and leverage window.OnetrustActiveGroups * onetrust load before segment ready * add production value for HUGO_PARAMS_onetrustScriptId to netlify.toml
7 lines
172 B
JavaScript
7 lines
172 B
JavaScript
import * as params from '@params';
|
|
import { setCookie } from './helpers';
|
|
|
|
if (params.gaMeasurementId) {
|
|
setCookie('ga_measurement_id', params.gaMeasurementId, 365);
|
|
}
|