Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "40278",
"name": "Electra Classic Faux Leather Bike Carry Handle",
"price": "",
"brand": "Electra",
"category": "Bike storage",
"variant": "black",
"list": "More Options",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}