bored-vase-12851
11/29/2023, 10:26 AM50.0/50.0
split, but observed a 42.7/57.3
split)rhythmic-agent-34208
11/29/2023, 10:26 AMswift-helmet-3648
11/29/2023, 2:26 PMbored-vase-12851
11/29/2023, 2:27 PMbored-vase-12851
11/29/2023, 2:28 PMbrief-honey-45610
11/29/2023, 9:06 PMNull
value?
If for some reason the cookie is surfacing as a Null
value, all those users would be rolled into the user_id of Null
and you would need to filter out those users so you don't show them the experiment.
You would need to add something like what is shown in the // NEW . .
code below:
mixpanel.init('134dc40801e82a050d72d3f1871328c4', {
debug: true,
ignore_dnt: true,
loaded: function() {
growthbook.setAttributes({
...growthbook.getAttributes(),
id: getShopifyCookieValue('_shopify_y')
})
console.log("shopify id: " + getShopifyCookieValue('_shopify_y'));
// console.log(growthbook)
// NEW......
if (!getShopifyCookieValue('_shopify_y')) {
console.error('Invalid cookie!');
return;
}
. . .
brief-honey-45610
11/29/2023, 9:07 PMbored-vase-12851
11/30/2023, 6:38 AMbored-vase-12851
11/30/2023, 6:40 AMbored-vase-12851
11/30/2023, 6:41 AMrhythmic-agent-34208
11/30/2023, 3:20 PMrhythmic-agent-34208
11/30/2023, 3:22 PMThe thing is, on variation 1 we do a redirect, could that be the cause of the issue? Distinct id and cookie does not change on redirect... And conversion windows are correctly setI will check with the team and get back to you soon.
bored-vase-12851
11/30/2023, 3:25 PMrhythmic-agent-34208
11/30/2023, 3:59 PM