if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "45020",
"name": "100% Trek Factory Racing Trucker Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5-Panel Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24710",
"name": "Bontrager Velocis Softshell Cycling Jacket",
"price": "88.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24714",
"name": "Bontrager Velocis Women's Unpadded Softshell Cycling Tight",
"price": "76.99",
"brand": "Bontrager",
"category": "Cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14773",
"name": "Bontrager S2 Softshell Cycling Shoe Cover",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24715",
"name": "Bontrager Velocis Women's Softshell Cycling Jacket",
"price": "51.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25046",
"name": "Bontrager Waterproof Cycling Shoe Cover",
"price": "49.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Cycling Shoe Cover",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "36.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "26.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "25044",
"name": "Bontrager Windshell Cycling Balaclava",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "25037",
"name": "Bontrager Thermal Cycling Cap",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "22822",
"name": "Bontrager Classic Cycling Cap",
"price": "13.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "13.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "12.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}