Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "12827",
"name": "Tige de selle en aluminium de rechange Electra",
"price": "11.99",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "39361",
"name": "Tige de selle en acier de rechange Electra",
"price": "4.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}