Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "22373",
"name": "Multi-outil Bontrager Comp",
"price": "19.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30807",
"name": "Multioutils Bontrager BITS Integrated",
"price": "39.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "6.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "44751",
"name": "Multi-outils Trek Elite BITS",
"price": "55.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "21794",
"name": "Kit anti-crevaison Bontrager Pro",
"price": "59.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26602",
"name": "Outil Bontrager Switch levier",
"price": "22.5",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "36257",
"name": "Unior Multitool EURO17",
"price": "50.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 7
}
,
{
"id": "22651",
"name": "Unior Multitool EURO13",
"price": "45.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 8
}
,
{
"id": "36259",
"name": "Unior Multitool EURO7",
"price": "22.5",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 9
}
,
{
"id": "36258",
"name": "Unior Multitool EURO6",
"price": "22.5",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}