Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack styrlinda",
"price": "349.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager styrlinda med gelkork",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack styrlinda",
"price": "111.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Bontrager Perf Line styrlinda Sats",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Bontrager korkstyrlinda med dubbelgel",
"price": "115.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "47896",
"name": "Styrlinda, set Trek Perf Line",
"price": "299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "48089",
"name": "Styrlinda, set Trek med dubbelgel och kork",
"price": "229.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "47893",
"name": "Styrlinda, set Trek med gel och kork",
"price": "199.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "22854",
"name": "Bontrager Gel Cork Graphic styrlinda",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 9
}
,
{
"id": "23111",
"name": "Bontrager Hi-Vis-styrlinda med gelkork",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "12523",
"name": "Bontrager Supertack styrlinda",
"price": "96.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}