Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "23383",
"name": "Bontrager Bike Wash cykeltvätt",
"price": "149.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "23382",
"name": "Bontrager Degreaser avfettningsmedel",
"price": "209.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "32120",
"name": "Tektro Hydraulic Brake Fluid",
"price": "109.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "23384",
"name": "Bontrager Bike Polish cykelpolish",
"price": "139.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "23381",
"name": "Bontragers kedjesmörjmedel",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "23385",
"name": "Bontragers monteringsfett",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32664",
"name": "Loctite Hysol 9460 Epoxy Adhesive - 50ml",
"price": "589.0",
"brand": "Loctite",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}