if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33044",
"name": "Madone SLR Frame Set Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33101",
"name": "Domane SLR Disc Frameset Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32692",
"name": "Checkpoint ALR Frame Set",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}