if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "2499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47829",
"name": "Procaliber C Frameset Gen 3",
"price": "1999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41642",
"name": "Procaliber 9.6",
"price": "3099.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "2449.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33241",
"name": "Procaliber Frameset Gen 2",
"price": "1849.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "1699.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44442",
"name": "Procaliber AL Frameset",
"price": "749.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}