acoustic-pencil-84832
03/25/2026, 4:37 PMfresh-football-47124
acoustic-pencil-84832
03/27/2026, 10:09 AMacoustic-pencil-84832
03/27/2026, 10:10 AMfresh-football-47124
acoustic-pencil-84832
03/27/2026, 10:12 AMfresh-football-47124
fresh-football-47124
acoustic-pencil-84832
03/27/2026, 11:57 AMwindow.growthbook_config = window.growthbook_config || {};
window.growthbook_config.attributes = {
"visitorState": "Company",
"userIsLoggedIn": "foo",
"useQuarterlyBonus": "foo",
"PageTemplate": "foo",
"item_list_name": "foo",
"lomax_source": "foo"
};
window.growthbook_config.trackingCallback = function(experiment, result) {
if (typeof dataLayer !== 'undefined') {
dataLayer.push({
'event': 'growthbook_experiment',
'experiment_id': experiment.key,
'variation_id': result.key
});
}
console.log("GrowthBook experiment:", experiment.key, "variation:", result.key);
};
Script to fetch growthbook SDK:
<script async="" data-api-host="<https://cdn.growthbook.io>" data-client-key="sdk-lbJ8nntO3Byaw1y" src="<https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/auto.min.js>"></script>
Loading chain:
config -> script for sdk -> popup system js fileacoustic-pencil-84832
03/27/2026, 11:57 AMacoustic-pencil-84832
04/01/2026, 6:46 AMfresh-football-47124
fresh-football-47124
fresh-football-47124
fresh-football-47124
acoustic-pencil-84832
04/01/2026, 8:08 AMid (v2 hashing). This is set via growthbook_config.attributes in the frontend code. It maps to anonymous_id in our GrowthBook assignment query, which corresponds to user_pseudo_id in BigQuery. We've been experiencing a multiple exposures issue (~17-19% of traffic) which we believe is caused by the SDK firing before id is available.
I've attached a screenshot of the experiment. I'm also attaching the "SDK payload" from the DevTools extension.
{
"status": 200,
"features": {
"test_gb_popup_full": {
"defaultValue": false
},
"test_popup_local_lasse": {
"defaultValue": true
},
"Sign-up_10": {
"defaultValue": true
},
"test-oprette-feature": {
"defaultValue": 1
}
},
"experiments": [
{
"key": "gb-lomax-test1",
"changeId": "bb07425a4e342efdb2b431af49b287f4f6f54ce5818e6a2230f71833d9db7656",
"status": "running",
"variations": [
{
"css": "",
"js": "console.log(\"Control - yes!\")",
"domMutations": []
},
{
"css": "",
"js": "console.log(\"V1 - yes!\")",
"domMutations": []
}
],
"hashVersion": 2,
"hashAttribute": "id",
"fallbackAttribute": "",
"disableStickyBucketing": false,
"bucketVersion": 1,
"minBucketVersion": 0,
"urlPatterns": [
{
"include": true,
"type": "simple",
"pattern": "/*"
}
],
"weights": [
0.5,
0.5
],
"meta": [
{
"key": "0"
},
{
"key": "1"
}
],
"filters": [],
"seed": "477fbeed-3a41-4add-9eed-f7299d0ed537",
"phase": "1",
"condition": {
"url": {
"$exists": true
}
},
"coverage": 1
},
{
"key": "test-i-kurv",
"changeId": "96f03b870bdf983653b3087f680a3dea464030b2d7e82e7d8a7556e6131326e1",
"status": "running",
"variations": [
{
"css": "",
"js": "",
"domMutations": []
},
{
"css": "",
"js": "console.log(\"Kurv-test - yes!\")",
"domMutations": []
}
],
"hashVersion": 2,
"hashAttribute": "id",
"fallbackAttribute": "",
"disableStickyBucketing": false,
"urlPatterns": [
{
"include": true,
"type": "simple",
"pattern": "<https://www.lomax.dk/kurv/>"
}
],
"weights": [
0.5,
0.5
],
"meta": [
{
"key": "0"
},
{
"key": "1"
}
],
"filters": [],
"seed": "e7fffa7a-3834-409f-bbf0-a7fd498a31fc",
"phase": "0",
"condition": {
"url": {
"$exists": true
}
},
"coverage": 1
},
{
"key": "desktop-brugete",
"changeId": "ea4622d0776248dfb7df6571a73451dcf39672f73f59e7e628bf6270c5ffd65a",
"status": "running",
"variations": [
{
"css": "",
"js": "",
"domMutations": []
},
{
"css": "",
"js": "console.log(\"forside test - VAR!\")",
"domMutations": []
}
],
"hashVersion": 2,
"hashAttribute": "id",
"fallbackAttribute": "",
"disableStickyBucketing": false,
"bucketVersion": 1,
"minBucketVersion": 0,
"urlPatterns": [
{
"include": true,
"type": "simple",
"pattern": "<https://www.lomax.dk/*>"
}
],
"weights": [
0.5,
0.5
],
"meta": [
{
"key": "0"
},
{
"key": "1"
}
],
"filters": [],
"seed": "5c5d60cf-e4d7-469a-aafb-1da4e488b725",
"phase": "1",
"condition": {
"deviceType": "desktop"
},
"coverage": 1
},
{
"key": "ny-sanity-test-efter-gtm-fix",
"changeId": "ff1af3a16c1f98104dc33df6aced3e183e141c59d59df5e31913beeb5d6fbd79",
"status": "running",
"variations": [
{
"css": "",
"js": "console.log(\"Control - yes!\")",
"domMutations": []
},
{
"css": "",
"js": "console.log(\"Sanity-test V2 - VAR\")",
"domMutations": []
}
],
"hashVersion": 2,
"hashAttribute": "id",
"fallbackAttribute": "",
"disableStickyBucketing": false,
"urlPatterns": [
{
"include": true,
"type": "simple",
"pattern": "/*"
}
],
"weights": [
0.5,
0.5
],
"meta": [
{
"key": "0"
},
{
"key": "1"
}
],
"filters": [],
"seed": "477fbeed-3a41-4add-9eed-f7299d0ed537",
"phase": "0",
"condition": {
"url": {
"$exists": true
}
},
"coverage": 1
}
],
"dateUpdated": "2026-03-31T05:40:36.120Z"
}acoustic-pencil-84832
04/01/2026, 8:09 AMacoustic-pencil-84832
04/14/2026, 12:26 PMacoustic-pencil-84832
04/17/2026, 5:01 AMacoustic-pencil-84832
04/21/2026, 7:43 AMfresh-football-47124
fresh-football-47124
fresh-football-47124
window.growthbook_config.attributes = {
"visitorState": "Company",
"userIsLoggedIn": "foo",
"useQuarterlyBonus": "foo",
"PageTemplate": "foo",
"item_list_name": "foo",
"lomax_source": "foo"
};acoustic-pencil-84832
04/27/2026, 6:48 PMacoustic-pencil-84832
04/29/2026, 5:03 PMacoustic-pencil-84832
05/01/2026, 11:19 AM