if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "48297",
"name": "Émonda ALR Disc Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2100.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frame Set",
"price": "1300.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36957",
"name": "Émonda ALR 6",
"price": "2325.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "2200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "1850.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluelight_pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1150.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}