if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"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": "CATEGORY",
"position": 1
}
,
{
"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": "CATEGORY",
"position": 2
}
,
{
"id": "42206",
"name": "จานเบรก Centerlock C-Star RT900",
"price": "800.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33286",
"name": "ใบจานเบรก Tektro แบบ Centerlock",
"price": "775.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32117",
"name": "แม่เหล็กเซ็นเซอร์วัดความเร็ว Tektro SP-SS20 สำหรับ Centerlock Rotor",
"price": "700.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "42207",
"name": "โรเตอร์เบรค C-Star RT553 สลักเกลียว 6 ตัว",
"price": "450.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "375.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}