if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "35952",
"name": "Electra Pinger Bike Bell",
"price": "620.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "25477",
"name": "Bontrager Shoe Replacement BOA IP1 Left Dial",
"price": "1000.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "bluelight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "24511",
"name": "แผ่นรองหมวกกันน็อกจักรยานแบบ Mips Bontrager Solstice ",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "25888",
"name": "Bontrager RSL 27.2 Seatpost 7x7mm Saddle Clamp Ears",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "47133",
"name": "Bontrager RSL 27.2 Seatpost 7x10mm Saddle Clamp Ears",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "11776",
"name": "Bontrager SPA SS7 Cantilever Brake 700C Suspension Fork",
"price": "10250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "28835",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem High-Far",
"price": "16250.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "28836",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Mid-Far",
"price": "8750.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "28837",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Low-Far",
"price": "4750.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "25487",
"name": "Bontrager Pro Water Bottle Cage",
"price": "2300.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "13061",
"name": "Kenda Kontender 26˝ Tire",
"price": "2625.0",
"brand": "Kenda",
"category": "Bike tires",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "40916",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "1400.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "33877",
"name": "Bontrager Approved TK-32 ตัวฟรีฮับ 11 สปีด",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "47338",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "1000.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "375.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}