if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "24511",
"name": "แผ่นรองหมวกกันน็อกจักรยานแบบ Mips Bontrager Solstice ",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "25487",
"name": "Bontrager Pro Water Bottle Cage",
"price": "2300.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "13061",
"name": "Kenda Kontender 26˝ Tire",
"price": "2625.0",
"brand": "Kenda",
"category": "Bike tires",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "33881",
"name": "ตัวโม่ Bontrager Race 11-Speed",
"price": "2175.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "33877",
"name": "Bontrager Approved TK-32 ตัวฟรีฮับ 11 สปีด",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "40418",
"name": "ชุดตาไก่และเดือยสายเบรกไฮดรอลิก C-Star - แพ็ก 10 ชิ้น",
"price": "900.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "40919",
"name": "ชุดเบรก ตาไก่และเข็มท่อเบรก Tektro Dorado Auriga Comp Draco - ชุด 10 ชิ้น",
"price": "800.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings V1 - 10 Pack",
"price": "400.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "33275",
"name": "Tektro L10.11 Disc Brake Pads",
"price": "350.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "44822",
"name": "สปันนิงา พิเมนโต้ RR 02 ไฟท้ายสะท้อนแสง",
"price": "325.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}