Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36951",
"name": "Casque de cycliste Trek Starvos WaveCel",
"price": "119.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "31568",
"name": "Casque cycliste Bontrager Starvos WaveCel",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "31556",
"name": "Casque Enfants Bontrager Jet WaveCel",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "More Options",
"position": 3
}
,
{
"id": "42201",
"name": "Casque pour enfants Trek Tyro",
"price": "54.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "More Options",
"position": 4
}
,
{
"id": "31205",
"name": "Casque Bontrager Tyro pour enfants",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_black",
"list": "More Options",
"position": 5
}
,
{
"id": "40379",
"name": "Casque de vélo Trek Little Dipper",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "More Options",
"position": 6
}
,
{
"id": "30486",
"name": "Casque pour enfants Bontrager Tyro",
"price": "41.24",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_bluelight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}