if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "41406",
"name": "ชุดบันไดคลิปเลส Trek Kovee Elite",
"price": "4200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41409",
"name": "ชุดบันไดแบน Trek Line Elite",
"price": "2200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35809",
"name": "Bontrager Line Comp Flat Pedal Set",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41410",
"name": "ชุดบันไดแบน Trek Line Pro",
"price": "3700.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30862",
"name": "บันทราเกอร์ เอลิต โร้ด เพดาล เซ็ต",
"price": "4000.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27134",
"name": "Bontrager MTB Clipless Pedal Cleat Set",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27132",
"name": "ชุดคลีตบันไดแบบคลิปเลสสำหรับถนน Bontrager 6 องศา",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32999",
"name": "ชุดคลีตบันไดแบบคลิปเลสสำหรับถนน Bontrager 9 องศา",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44426",
"name": "ชุดบันไดแบน Trek Line Comp",
"price": "1500.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45251",
"name": "ชุดซ่อมบันได SPD Trek",
"price": "1175.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "30971",
"name": "ชุดแป้นเหยียบขนาดใหญ่สำหรับเด็ก Trek",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "30977",
"name": "ชุดบันไดเด็ก Trek Kids' Platform ขนาดเล็ก",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "44499",
"name": "ชุดบันได VP Components VP-536 แบริ่งไนลอนโพลีเมอร์",
"price": "500.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "45142",
"name": "ชุดซ่อมแกนบันได Trek Line Pro/Elite",
"price": "475.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "10861",
"name": "ชุดบันไดเด็ก Trek Dialed",
"price": "450.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "45143",
"name": "ชุดหมุดบันได Trek Line Pro",
"price": "350.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "45144",
"name": "ชุดหมุดบันได Trek Line Elite",
"price": "350.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "14345",
"name": "Bontrager Line Pro Pedal Axle Rebuild Kit",
"price": "1175.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "26735",
"name": "Bontrager Line Pro Pedal Pin Kit",
"price": "725.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}