if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37437",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2020-2022 Trek Supercaliber",
"price": "139.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35833",
"name": "RideWrap Essential MTB Matte Frame Protection Kit",
"price": "74.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35735",
"name": "RideWrap Essential MTB Gloss Frame Protection Kit",
"price": "74.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31982",
"name": "Trek-Diamant City Chainguard Bracket",
"price": "11.99",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31532",
"name": "Herrmans Slim Bosch G4 Chainguard Bracket",
"price": "11.99",
"brand": "HERRMANS",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}