if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "44931",
"name": "e*Thirteen e*spec Plus Aluminum Crankarms for Bosch",
"price": "139.99",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41243",
"name": "Prowheel EB03 Bosch GEN3 (Mini ISIS) Crank Arm Set",
"price": "65.99",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}