if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "45116",
"name": "ตะเกียบแบบแข็ง Trek District 4 Ahead Disc 700c",
"price": "8000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "30895",
"name": "ตลับลูกปืนถ้วยคอ Cane Creek ZN40-Series",
"price": "750.0",
"brand": "Cane Creek",
"category": "Bearings",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34526",
"name": "Trek 2021 Domane AL 4 700c Disc Rigid Fork",
"price": "12750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34525",
"name": "Trek 2021 Domane AL 3 700c Disc Rigid Fork",
"price": "12750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "12827",
"name": "หลักอานอะไหล่อะลูมิเนียม Electra",
"price": "375.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "34528",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2021 Domane AL 2 700c",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "blue_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "24694",
"name": "Trek 2019 Domane SL 700c Disc Fork",
"price": "12000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "58468",
"name": "ตะเกียบแบบชิ้นเดียว Trek Domane+ ALR Gen 2 700c",
"price": "19000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "34527",
"name": "Trek 2021 Domane AL 5 700c Disc Rigid Fork",
"price": "13000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "orange_greydark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "35460",
"name": "Trek-Diamant Fender Stay Disc Brake Spacer",
"price": "150.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "26482",
"name": "Trek Conduit+ Disc 700c Rigid Rigid Fork",
"price": "3250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "40461",
"name": "Prowheel ISIS Bosch Gen 2 & 4 Crank Arms",
"price": "1325.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "56637",
"name": "Trek Checkpoint SL Gen 2 Downtube Storage Door",
"price": "3000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "26518",
"name": "Trek Speed Concept Tri Gen 2 สีเป็นกลาง 700c โช้คหน้าแข็ง",
"price": "27500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "26364",
"name": "Trek 2018 Domane SL 700c Disc Rigid Fork",
"price": "9750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "26909",
"name": "Trek 2019 Domane SL 6 Women's 700c Disc Rigid Fork",
"price": "9750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_bluedark",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "39358",
"name": "บังโซ่ Trek-Diamant Hyena Gen 2",
"price": "4000.0",
"brand": "Trek-Diamant",
"category": "E-bike accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "29094",
"name": "Trek 2019 Emonda SLR 9 700c Disc Rigid Fork",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "14818",
"name": "Trek 2017 Domane SL 5 700c Disc Rigid Fork",
"price": "10500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "bluedark_greenlight",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "26425",
"name": "Trek 2017 Domane SLR 6 700c Disc Rigid Fork",
"price": "11000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "26427",
"name": "Trek 2017 Domane SLR 7 700c Disc Rigid Fork",
"price": "11000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_orange",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "26429",
"name": "Trek 2017 Domane SLR 9 700c Disc Rigid Fork",
"price": "11000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "26908",
"name": "Trek 2019 Domane SL 5 Women's 700c Disc Rigid Fork",
"price": "9750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "bluedark_bluelight",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "26317",
"name": "Trek 2017 Domane SL 6 700c Disc Rigid Fork",
"price": "10500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_white",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}