if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "22.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31923",
"name": "100% Ridecamp Mountain Bike Gloves",
"price": "22.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25037",
"name": "Bontrager Thermal Cycling Cap",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25044",
"name": "Bontrager Windshell Cycling Balaclava",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26125",
"name": "Bontrager Race Crew Cycling Socks 3-Pack",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "14.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "14.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30967",
"name": "Bontrager Race Crew Thermal Wool Cycling Socks",
"price": "9.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35322",
"name": "Bontrager Race Crew Cycling Socks",
"price": "7.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35319",
"name": "Bontrager Velocis Crew Cycling Socks",
"price": "6.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24822",
"name": "Bontrager Velocis Crew Cycling Socks",
"price": "6.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "24826",
"name": "Bontrager Race Crew Cycling Socks",
"price": "6.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}