if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33305",
"name": "Vale Go! 9D EQ",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34872",
"name": "Vale Go! 9D EQ S",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34871",
"name": "Vale Go! 9D EQ",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34873",
"name": "Vale Go! 9D EQ",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}