Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36232",
"name": "Electra Tandem Stoker Stem",
"price": "44.99",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "37594",
"name": "Electra Kids' Quill Stem",
"price": "19.99",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}