if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "35787",
"name": "FX Sport 6",
"price": "4299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "3299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "1099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "2699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32733",
"name": "Verve 3 Disc",
"price": "1599.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32732",
"name": "Verve 3 Disc Lowstep",
"price": "1599.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36826",
"name": "Dual Sport 3 Gen 5",
"price": "1499.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35104",
"name": "Dual Sport 3 Gen 4",
"price": "1399.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35021",
"name": "FX 3 Disc",
"price": "1399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32735",
"name": "Verve 2 Disc",
"price": "1299.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep",
"price": "1299.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "1199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep",
"price": "1099.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "1099.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "1099.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32736",
"name": "Verve 1 Disc Lowstep",
"price": "1099.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35004",
"name": "FX 2 Disc Stagger",
"price": "1099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36453",
"name": "Verve 2",
"price": "1099.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "999.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35001",
"name": "FX 1 Disc",
"price": "899.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "899.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35060",
"name": "Dual Sport 1 Gen 4",
"price": "899.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36811",
"name": "Verve 1",
"price": "889.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}