if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "00126",
"name": "Espejo Mirrycle Mountain",
"price": "26.59",
"brand": "Mirrycle",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}