if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "8499.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "58893",
"name": "Fuel EX 9.8 XT Di2 Gen 7",
"price": "6499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "6399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57662",
"name": "Madone SL 6 Gen 8",
"price": "5999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "5099.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "56308",
"name": "Fuel EX 8 Gen 7",
"price": "3999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "3699.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "49946",
"name": "Checkpoint ALR 5 Gen 3",
"price": "3099.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bronze",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "3399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47256",
"name": "FX Sport SL 6",
"price": "2499.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "56310",
"name": "Fuel EX 5 Gen 7",
"price": "2399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "2499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "47243",
"name": "FX Sport SL 4",
"price": "1699.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "56629",
"name": "Supercaliber SL 9.7 GX AXS Gen 2",
"price": "5999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "6399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "2399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "1699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}