if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41354",
"name": "Émonda SL 7",
"price": "5200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41352",
"name": "Émonda SL 6",
"price": "4200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight_purple",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41366",
"name": "Émonda SL 5",
"price": "2850.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frame Set",
"price": "1975.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30189",
"name": "Émonda SL Frame Set",
"price": "1700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "5200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36977",
"name": "Émonda SL 6 Pro Di2",
"price": "3700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32562",
"name": "Émonda SL 6 Disc Pro",
"price": "3510.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32561",
"name": "Émonda SL 6 Disc",
"price": "3060.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}