if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40506",
"name": "FX 2 Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40504",
"name": "FX 3 Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40507",
"name": "FX 2 Equipped Mid-step",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40505",
"name": "FX 3 Equipped Mid-step",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40813",
"name": "FX 1 Gen 4",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32770",
"name": "FX 1 Mid-step Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32769",
"name": "FX 1 Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35018",
"name": "FX 2 Disc Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35108",
"name": "FX 3 Disc Equipped Stagger",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "27991",
"name": "FX 2 Disc",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35055",
"name": "FX 3 Disc Stagger Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "28474",
"name": "FX 3 Disc",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35139",
"name": "FX 2 Disc Equipped Stagger",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35107",
"name": "FX 3 Disc Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35004",
"name": "FX 2 Disc Mid-step Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}