if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "25487",
"name": "Bontrager Pro Water Bottle Cage",
"price": "2300.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14411",
"name": "Bontrager Elite Seat Pack",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "1600.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "1000.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48089",
"name": "ชุดผ้าพันแฮนด์ Trek Double Gel Cork",
"price": "900.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27132",
"name": "ชุดคลีตบันไดแบบคลิปเลสสำหรับถนน Bontrager 6 องศา",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32999",
"name": "ชุดคลีตบันไดแบบคลิปเลสสำหรับถนน Bontrager 9 องศา",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46167",
"name": "Trek RSL Aero ขวดน้ำ",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47893",
"name": "ชุดเทปหุ้มแฮนด์จักรยาน Trek Gel Cork",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40457",
"name": "Trek Blendr Fendr",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "25254",
"name": "ยางจักรยาน Bontrager Standard Presta Valve",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}