if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36036",
"name": "Trek RSL Knit Road Cycling Shoes",
"price": "399.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Trek RSL Road Cycling Shoes",
"price": "349.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Trek Velocis Road Cycling Shoes",
"price": "229.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Trek Circuit Road Cycling Shoes",
"price": "139.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoes",
"price": "125.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34129",
"name": "Bontrager Evoke Mountain Bike Shoes",
"price": "119.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31573",
"name": "Bontrager Cadence Indoor Cycling Shoes",
"price": "119.99",
"brand": "Bontrager",
"category": "Indoor cycling shoes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "107.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport Bike Shoes",
"price": "99.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31572",
"name": "Bontrager SSR Women's Multisport Bike Shoes",
"price": "99.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33678",
"name": "Bontrager Solstice Road Cycling Shoes",
"price": "79.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}