if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "26213",
"name": "เกทส์ เซ็นเตอร์แทร็ค ซีดีเอ็กซ์ เบลท์ ไดรฟ์ สป็อกเก็ต",
"price": "4000.0",
"brand": "Gates",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31470",
"name": "ใบจานจักรยานไฟฟ้า Trek-Diamant",
"price": "2925.0",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42161",
"name": "จานหน้า Prowheel 42 ฟัน สำหรับ 10/11 สปีด พร้อมการ์ดกันกระแทก",
"price": "2125.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45151",
"name": "สไปเดอร์ Praxis 1X SRAM สำหรับ Domane+ SLR",
"price": "1975.0",
"brand": "Praxis",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36249",
"name": "โบชช์ เจน 3 แนร์โรว์ ไวด์ ช্য�นริง",
"price": "1500.0",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44933",
"name": "ใบจาน eThirteen eSpec แนวโซ่ 55 มม. สำหรับ Bosch",
"price": "1500.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21945",
"name": "FSA Gamma Pro Megatooth Replacement Chainring",
"price": "750.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}