if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14564",
"name": "Electra Sticker Pack",
"price": "9.99",
"brand": "Electra",
"category": "Cycling gifts & fun stuff",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}