if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "22093",
"name": "RockShox Maxle Stealth Skewer",
"price": "",
"brand": "RockShox",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36439",
"name": "Trek-Diamant Thru-Skew Fixed Retention Nut",
"price": "",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}