if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "80146",
"name": "Santini Lidl-Trek Replica Race Jersey",
"price": "4300.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "56744",
"name": "กางเกงแข่งแบบมีสายรัด Santini Lidl-Trek รุ่นจำลอง",
"price": "5750.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "56743",
"name": "เสื้อปั่น Santini Lidl-Trek Replica Race",
"price": "5000.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "49885",
"name": "K-EDGE Garmin Trek Aero RSL ชุดยึดแบบรวมแฮนด์/คอรถสำหรับจักรยานถนน ติดตั้งในตัว",
"price": "3500.0",
"brand": "K-EDGE",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "49887",
"name": "ขายึดไมล์ K-EDGE Wahoo Trek Aero RSL Road Integrated Handlebar/Stem Combo",
"price": "3500.0",
"brand": "K-EDGE",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12587",
"name": "ตัวล็อคสายเคเบิลแบบคอมโบพร้อมตัวดึงกลับ Kryptonite R2",
"price": "1100.0",
"brand": "Kryptonite",
"category": "Bike locks",
"variant": "black_orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33582",
"name": "สายล็อกรหัส Kryptonite KryptoFlex 815",
"price": "900.0",
"brand": "Kryptonite",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40559",
"name": "Rockshox Pike Select+ 140mm Air Spring Cartridge",
"price": "3600.0",
"brand": "RockShox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44933",
"name": "ใบจาน eThirteen eSpec แนวโซ่ 55 มม. สำหรับ Bosch",
"price": "1500.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}