if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37307",
"name": "Madone SLR Gen 7 Frameset",
"price": "4599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37302",
"name": "Domane SL Gen 4 Frameset",
"price": "2499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35714",
"name": "Domane SLR 9 Gen 3",
"price": "12249.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "5999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36979",
"name": "Madone SL 7 Gen 6",
"price": "5999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "3499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33082",
"name": "Domane AL 3 Gen 3",
"price": "1449.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 T47 Disc Frameset",
"price": "4419.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37304",
"name": "Domane RSL Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33101",
"name": "Domane SLR Gen 3 Frameset",
"price": "3719.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35073",
"name": "Domane SL Gen 3 Frameset",
"price": "2319.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "28712",
"name": "Domane SL Gen 3 Frameset",
"price": "2199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark_black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}