if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1190.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "6350.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "4500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "3700.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frame Set",
"price": "2500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "2350.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "1450.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frame Set",
"price": "1100.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "6100.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41397",
"name": "Checkpoint SL 6 AXS Gen 2",
"price": "4300.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 Gen 2",
"price": "3500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35076",
"name": "Checkpoint SL Frame Set",
"price": "2500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "7400.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}