if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "37110",
"name": "Trek Evoke Youth Unisex Mountain Bike Glove",
"price": "19.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37086",
"name": "Trek Evoke Youth Mountain Bike Tech Tee",
"price": "17.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27134",
"name": "Bontrager MTB Clipless Pedal Cleat Set",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12968",
"name": "Bontrager TLR Sealant Injector",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44947",
"name": "Trek Enduro Front Mudguard",
"price": "8.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}