Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23403",
"name": "Selle Bontrager Commuter Fluid",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "21588",
"name": "Selle Bontrager Commuter Comp",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "14012",
"name": "Selle Bontrager Sport pour femmes",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22644",
"name": "Selle Textile rétro Trek",
"price": "34.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}