if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "44483",
"name": "Bontrager Girona RSL GR TLR Gravel Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44484",
"name": "Bontrager Betasso RSL GX TLR Gravel Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46160",
"name": "Pirelli P ZERO Race TLR Road Tyre",
"price": "79.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46694",
"name": "Pirelli Cinturato Gravel RC-X Gravel Tyre",
"price": "67.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38204",
"name": "Pirelli Cinturato Gravel H Tyre",
"price": "62.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38208",
"name": "Pirelli Cinturato Gravel M Tyre",
"price": "62.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42169",
"name": "Pirelli Cinturato Gravel RC Gravel Tyre",
"price": "60.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31550",
"name": "Bontrager LT4 Expert Reflective E-bike Tyre",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37430",
"name": "Bontrager GR0 Comp Gravel Tire",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "26804",
"name": "Bontrager GR1 Comp Gravel Tyre",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}