if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "3499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41643",
"name": "Procaliber 9.7",
"price": "6499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35114",
"name": "Procaliber 9.7",
"price": "5919.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "4099.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33258",
"name": "Procaliber 9.5 Gen 2",
"price": "3199.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "2199.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}