Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41416",
"name": "Ruban de guidon Trek EcoTack",
"price": "35.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Ruban de guidon Bontrager Gel Cork",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Ruban de guidon Bontrager Grippytack",
"price": "12.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Ruban de guidon Bontrager Perf Line",
"price": "15.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Ruban de cintre Bontrager Double Gel",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37297",
"name": "Ruban de guidon Bontrager Supertack",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "47896",
"name": "Jeu de ruban de guidon Trek Perf Line",
"price": "29.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "47893",
"name": "Jeu Ruban de guidon Trek Gel Cork",
"price": "19.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "12523",
"name": "Ruban de guidon Supertack Bontrager",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 9
}
,
{
"id": "23111",
"name": "Ruban de guidon Bontrager Gel Cork haute visibilité",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}