if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "79818",
"name": "Domane SL 7 AXS 1x Gen 5",
"price": "194000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "79844",
"name": "Domane SL 6 AXS Gen 5",
"price": "120000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "77555",
"name": "Domane SL 5 Gen 5",
"price": "90000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "79845",
"name": "Domane SL 4 Gen 5",
"price": "80000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "78351",
"name": "FX Sport SL 4",
"price": "65000.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "69926",
"name": "Domane AL 4 Gen 4",
"price": "49000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "80310",
"name": "Procaliber 6",
"price": "40000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "79359",
"name": "Verve 2 Lowstep",
"price": "34000.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "80164",
"name": "Domane AL 2 Gen 4",
"price": "32000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "79836",
"name": "ระบบกันสะเทือน Precaliber 24"",
"price": "11000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "79834",
"name": "Precaliber 20" 7-Speed",
"price": "10000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purplelight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "79627",
"name": "Precaliber 12"",
"price": "8000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "79630",
"name": "Precaliber 16" Freewheel",
"price": "9000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "58885",
"name": "Supercaliber SLR 9.9 XX Flight Attendant Gen 2",
"price": "459000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "57944",
"name": "Domane SLR 9 AXS Gen 4",
"price": "459000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "64879",
"name": "Madone SLR 9 AXS 1x Gen 8",
"price": "449000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "449000.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "57942",
"name": "Domane SLR 9 Gen 4",
"price": "437000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "429000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "57334",
"name": "Supercaliber SLR 9.8 X0 Flight Attendant Gen 2",
"price": "409000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "399000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "56165",
"name": "Supercaliber SLR 9.9 XTR Di2 Gen 2",
"price": "387000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "59647",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2",
"price": "375000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}