if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "13497",
"name": "Trek TAB Belt Drive 9 Spline Cog",
"price": "39.99",
"brand": "Trek",
"category": "Bike cassettes & freewheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26194",
"name": "Trek TAB Belt Drive IGH Cog",
"price": "39.99",
"brand": "Trek",
"category": "Bike cassettes & freewheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11007",
"name": "Gates Carbon Drive CDX CenterTrack Rear Cog",
"price": "129.99",
"brand": "Gates",
"category": "Bike cassettes & freewheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26192",
"name": "Gates Carbon Drive SureFoot 3-Lobe Rear Cog",
"price": "129.99",
"brand": "Gates",
"category": "Bike cassettes & freewheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "09980",
"name": "Gates Belt Drive Cog",
"price": "109.99",
"brand": "Gates",
"category": "Bike cassettes & freewheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37954",
"name": "Gates Belt Drive Cogs Enviolo / Nuvinci",
"price": "109.99",
"brand": "Gates",
"category": "Bike cassettes & freewheels",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45323",
"name": "microSHIFT ADVENT H-Series CS-H093 9-Speed Cassette",
"price": "34.99",
"brand": "microSHIFT",
"category": "Bike cassettes & freewheels",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26193",
"name": "SunRace MFE608 8-Speed Freewheel",
"price": "29.99",
"brand": "SunRace",
"category": "Bike cassettes & freewheels",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "12087",
"name": "SunRace MFE909 9-Speed Freewheel",
"price": "29.99",
"brand": "SunRace",
"category": "Bike cassettes & freewheels",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45324",
"name": "microSHIFT Acolyte H-Series CS-H083 8-Speed Cassette",
"price": "27.49",
"brand": "microSHIFT",
"category": "Bike cassettes & freewheels",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37871",
"name": "SunRun FW-7I 7-Speed Freewheel",
"price": "14.99",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37869",
"name": "SunRun FW-8I 8-Speed Freewheel",
"price": "14.99",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37872",
"name": "SunRun FW-6I 6-Speed Freewheel",
"price": "14.99",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}