if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "5999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35682",
"name": "Rail 9.8 GX Gen 3",
"price": "5999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "5299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "5299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33575",
"name": "Slash 9.8 GX Gen 5",
"price": "5199.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36732",
"name": "Slash 9.8 XT Gen 5",
"price": "4999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35217",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "4799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "4749.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35388",
"name": "Slash 9.8 XT Gen 5",
"price": "4499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35192",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "4499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35036",
"name": "Rail 7 Gen 2",
"price": "4299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35316",
"name": "Slash 9.8 GX Gen 5",
"price": "4299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32759",
"name": "Powerfly FS 4 Gen 2",
"price": "3799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35068",
"name": "Slash 9.7 Gen 5",
"price": "3499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37043",
"name": "Powerfly 4 Gen 4",
"price": "2999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "2699.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36730",
"name": "Slash 7 Gen 5",
"price": "2499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33304",
"name": "1120",
"price": "2399.93",
"brand": "Trek",
"category": "1120",
"variant": "bluedark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "2199.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "1049.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35869",
"name": "Supercaliber Gen 1 Frameset",
"price": "4219.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37960",
"name": "Slash C Gen 5 Frameset",
"price": "3899.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35683",
"name": "Slash C Gen 5 Frameset",
"price": "3719.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}