if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "15.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "157.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25370",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "127.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24710",
"name": "Bontrager Velocis Softshell Cycling Jacket",
"price": "88.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24715",
"name": "Bontrager Velocis Women's Softshell Cycling Jacket",
"price": "51.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Cycling Shoe Cover",
"price": "31.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "21.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}