if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "44543",
"name": "Sinter Performance Compound Disc Brake Pads",
"price": "27.49",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "26.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12523",
"name": "Bontrager Supertack Handlebar Tape",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "24.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork Handlebar Tape Set",
"price": "18.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "16.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23383",
"name": "Bontrager Bike Wash",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40457",
"name": "Trek Blendr Fendr",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33009",
"name": "Bontrager Comp Toe Spike Kit",
"price": "10.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}