Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "33700",
"name": "Electra Go! Mips-cykelhjelm",
"price": "719.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "21661",
"name": "Electra Heartchya Bike Helmet",
"price": "584.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "14461",
"name": "Electra Lifestyle Lux Straight 8 Bike Helmet",
"price": "584.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "More Options",
"position": 3
}
,
{
"id": "34333",
"name": "Electra Mountain Sky Lifestyle Lux-cykelhjelm",
"price": "519.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "More Options",
"position": 4
}
,
{
"id": "21685",
"name": "Electra Lifestyle Lux Ace-cykelhjelm",
"price": "519.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14730",
"name": "Electra Lifestyle Lux Cool Cat-cykelhjelm",
"price": "519.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "More Options",
"position": 6
}
,
{
"id": "33698",
"name": "Electra Lifestyle Lux-cykelhjelm ensfarvet",
"price": "324.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "34332",
"name": "Electra Gnome Lifestyle Lux-cykelhjelm",
"price": "324.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "34245",
"name": "Electra EBC 3000 Lifestyle-cykelhjelm",
"price": "319.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "More Options",
"position": 9
}
,
{
"id": "35904",
"name": "Electra Ziggy Lifestyle-hjelm",
"price": "319.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "More Options",
"position": 10
}
,
{
"id": "33561",
"name": "Electra Lifestyle-cykelhjelm",
"price": "319.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "orange",
"list": "More Options",
"position": 11
}
,
{
"id": "35905",
"name": "Electra Miami Lifestyle-hjelm",
"price": "319.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 12
}
,
{
"id": "34244",
"name": "Electra Unicorn Lifestyle-cykelhjelm",
"price": "319.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 13
}
,
{
"id": "35907",
"name": "Electra Slime Lifestyle-hjelm",
"price": "199.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_green",
"list": "More Options",
"position": 14
}
,
{
"id": "35906",
"name": "Electra Tutti Frutti Lifestyle-hjelm",
"price": "199.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}