if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46164",
"name": "Domane+ SLR 6",
"price": "6999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "13799.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "13499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "12999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48021",
"name": "Domane SLR 9 AXS Gen 4",
"price": "12699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "10199.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "49165",
"name": "Domane+ SLR 8 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "49167",
"name": "Domane SLR 8 AXS Gen 4",
"price": "9699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "49168",
"name": "Madone SLR 8 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "47132",
"name": "Domane SL 7 Gen 4",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "46221",
"name": "Madone SL 6 AXS Gen 8",
"price": "5999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "5699.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "gold_greendark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "5499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "4699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "3999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "3499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "3199.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}