Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack styrlinda",
"price": "429.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager styrlinda med gelkork",
"price": "269.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Bontrager Grippytack styrlinda",
"price": "258.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_blue",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Bontrager Perf Line styrlinda Sats",
"price": "369.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "bluelight_black",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Bontrager korkstyrlinda med dubbelgel",
"price": "279.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37297",
"name": "Bontrager Supertack styrlinda Sats",
"price": "258.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "23111",
"name": "Bontrager Hi-Vis-styrlinda med gelkork",
"price": "269.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "28485",
"name": "Bontrager Perf Line styrlinda",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "12523",
"name": "Bontrager Supertack styrlinda",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}