Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36823",
"name": "Dual Sport 2 5ème génération",
"price": "699.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "More Options",
"position": 1
}
,
{
"id": "40826",
"name": "Dual Sport 3 5e gén.",
"price": "1079.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "40511",
"name": "Dual Sport 2 Mid-step 5e gén.",
"price": "979.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "40508",
"name": "Dual Sport 2 Equipped 5e gén.",
"price": "979.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "40824",
"name": "Dual Sport 2 5e gén.",
"price": "829.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "40823",
"name": "Dual Sport 1 5e gén.",
"price": "729.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "More Options",
"position": 6
}
,
{
"id": "40503",
"name": "Dual Sport 3 Equipped Mid-step 5e gén.",
"price": "1229.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "40502",
"name": "Dual Sport 3 Equipped de 5ème génération",
"price": "1229.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "36824",
"name": "Dual Sport 1 5ème génération",
"price": "599.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}