Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "25422",
"name": "Bontrager Nebula Fender Dropout Strut Fasteners",
"price": "10.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"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": "More Options",
"position": 2
}
,
{
"id": "35267",
"name": "Trek-Diamant SKS Dropout Mount Fender Stay",
"price": "23.99",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35262",
"name": "Trek-Diamant SKS 65 x 270mm Fender Stay",
"price": "23.99",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35259",
"name": "Trek-Diamant SKS Fender Stay Clip",
"price": "13.99",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}