if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41741",
"name": "Trek Softshell Cycling Shoe Covers",
"price": "54.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41742",
"name": "Trek Waterproof Cycling Shoe Covers",
"price": "49.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41740",
"name": "Trek Windshell Cycling Toe Cover",
"price": "19.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48909",
"name": "Rapha Winter Cycling Shoe Covers",
"price": "65.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48908",
"name": "Rapha Wet Weather Cycling Shoe Covers",
"price": "55.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25046",
"name": "Bontrager Waterproof Cycling Shoe Cover",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Cycling Shoe Cover",
"price": "31.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}