Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41743",
"name": "Gants d’hiver Trek Circuit imperméable",
"price": "65.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41744",
"name": "Gants de cycliste Trek Circuit Windshell",
"price": "55.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37098",
"name": "Gants de cyclisme unisexes intégraux Circuit Twin Gel de Trek",
"price": "39.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37106",
"name": "Gants VTT unisexe Trek Evoke",
"price": "28.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31923",
"name": "Gant de VTT Ridecamp 100 %",
"price": "29.0",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}