if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "899.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "79836",
"name": "Precaliber 24" Suspension",
"price": "549.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "79627",
"name": "Precaliber 12"",
"price": "349.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57944",
"name": "Domane SLR 9 AXS Gen 4",
"price": "18499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "57942",
"name": "Domane SLR 9 Gen 4",
"price": "17499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "57915",
"name": "Domane SLR 7 AXS Gen 4",
"price": "13499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "57892",
"name": "Domane SLR 7 Gen 4",
"price": "12799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "7499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "2599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "1799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "2999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36846",
"name": "Precaliber 24 8-speed Suspension",
"price": "549.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "349.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "2399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "46763",
"name": "Checkmate SLR Frame Set",
"price": "5500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "46775",
"name": "Madone SLR Gen 8 Frame Set",
"price": "7999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35671",
"name": "Speed Concept SLR Frame Set",
"price": "6850.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4 Frame Set",
"price": "5750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}