Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "42283",
"name": "Electra Cable Routing Grommet",
"price": "3.99",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}