Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "23364",
"name": "Bontrager XXX Shift Cable & Housing Set",
"price": "749.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "23277",
"name": "Bontrager Pro Shift Cable & Housing Set",
"price": "419.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23365",
"name": "Bontrager Elite Shift Cable & Housing Set",
"price": "319.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "23369",
"name": "Bontrager Pro Shift Cable",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "23366",
"name": "Bontrager Comp Shift Cable & Housing Set",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "23370",
"name": "Bontrager Elite Shift Cable",
"price": "209.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 6
}
,
{
"id": "23371",
"name": "Bontrager Comp Shift Cable",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "23363",
"name": "Bontrager Shift Cable & Housing Set",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "45328",
"name": "microSHIFT SL-M6295-R 9-Speed Shifter",
"price": "199.0",
"brand": "microSHIFT",
"category": "Bike shifters",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "41968",
"name": "microSHIFT TS39 7-Speed Trigger Shifter",
"price": "179.0",
"brand": "microSHIFT",
"category": "Bike shifters",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}