if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "25343",
"name": "Bontrager XXX Mountain Bike Shoes",
"price": "261.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoes",
"price": "125.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "107.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31577",
"name": "Bontrager GR2 Gravel Bike Shoes",
"price": "66.99",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25046",
"name": "Bontrager Waterproof Cycling Shoe Cover",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"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": "22476",
"name": "Bontrager inForm BioDynamic High Arch Insoles",
"price": "18.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "13040",
"name": "Bontrager inForm BioDynamic Low Arch Insoles",
"price": "18.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}