if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "12932",
"name": "Bontrager Aeolus D3 Spoke Nipple Washers",
"price": "1.5",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44340",
"name": "Alpina Spark 13/14 Gauge Round J-Bend Spoke Box of 10",
"price": "2.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}