if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "12338",
"name": "Trek 3S Chainkeeper",
"price": "97.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23032",
"name": "Trek Checkpoint Carbon Armour",
"price": "91.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33297",
"name": "Trek Checkpoint SL Chainstay Strike Guard",
"price": "47.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37727",
"name": "Trek Checkpoint SL & SLR Downtube Armor",
"price": "34.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37599",
"name": "Trek Checkpoint SL & SLR Gen 2 Chainstay Armor",
"price": "23.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28423",
"name": "Trek Boone CX Chainstay Armor",
"price": "11.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42148",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2022 Trek Gravel/CX",
"price": "139.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "42147",
"name": "RideWrap Gloss Covered Frame Protection Kit designed to fit 2022 Trek Gravel/CX",
"price": "139.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}