if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "25422",
"name": "Bontrager Nebula Fender Dropout Strut Fasteners",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26582",
"name": "Eurofender Duo/Rapido Fender Stay Kit",
"price": "89.99",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31067",
"name": "Eurofender Snello TempoKit",
"price": "79.99",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35267",
"name": "Trek-Diamant SKS Dropout Mount Fender Stay",
"price": "23.99",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35262",
"name": "Trek-Diamant SKS 65 x 270mm Fender Stay",
"price": "23.99",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35259",
"name": "Trek-Diamant SKS Fender Stay Clip",
"price": "13.99",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}