if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36454",
"name": "Verve 2 Lowstep",
"price": "1089.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36453",
"name": "Verve 2",
"price": "1089.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "1079.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "1069.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35066",
"name": "Marlin 6 Gen 2",
"price": "1028.49",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "1019.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "977.49",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep",
"price": "926.49",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32735",
"name": "Verve 2 Disc",
"price": "926.49",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep",
"price": "899.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36811",
"name": "Verve 1",
"price": "899.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35060",
"name": "Dual Sport 1 Gen 4",
"price": "841.49",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "29759",
"name": "Marlin 4 Gen 2",
"price": "781.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "764.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "32736",
"name": "Verve 1 Disc Lowstep",
"price": "764.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "28128",
"name": "Precaliber 24 8 velocidades",
"price": "484.49",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}