if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "44113",
"name": "Trek Velocis Mips Helmet Fit Pad",
"price": "1790.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45622",
"name": "แผ่นรองหมวกกันน็อค Trek Ballista Mips Asia Fit",
"price": "1175.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45322",
"name": "Trek Tyro Child Helmet Fit Pad",
"price": "125.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45321",
"name": "Trek Tyro Youth Helmet Fit Pad",
"price": "125.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44097",
"name": "Trek Solstice Children's and Youth Bike Helmet Fit Pad",
"price": "75.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44939",
"name": "หมวกกันน็อก Trek Ballista Mips แผ่นรองขนาดพอดี",
"price": "1750.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48771",
"name": "แผ่นรองหมวกกันน็อก Trek Rally WaveCel",
"price": "350.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45420",
"name": "แผ่นรองหมวก Trek Little Dipper",
"price": "150.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44095",
"name": "แผ่นรองหมวกกันน็อกจักรยาน Trek Solstice",
"price": "100.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28851",
"name": "Bontrager Charge WaveCel Bike Helmet Fit Pad",
"price": "988.65",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28846",
"name": "Bontrager XXX WaveCel Bike Helmet Fit Pad",
"price": "975.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "28847",
"name": "Bontrager XXX WaveCel NoSweat Bike Helmet Fit Pad",
"price": "975.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "28850",
"name": "Bontrager Blaze WaveCel Bike Helmet Fit Pad",
"price": "963.93",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "28848",
"name": "Bontrager Blaze WaveCel NoSweat Bike Helmet Fit Pad",
"price": "963.93",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "14885",
"name": "Bontrager Ballista Mips Bike Helmet Fit Pad Kit",
"price": "575.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37952",
"name": "Bontrager Circuit WaveCel Helmet Fit Pad",
"price": "525.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "32636",
"name": "Bontrager Dipper Children's Helmet Fit Pad Kit",
"price": "175.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "22706",
"name": "Bontrager Quantum Mips Helmet Fit Pads",
"price": "175.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "33636",
"name": "Bontrager Jet WaveCel Helmet Fit Pad Kit",
"price": "125.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "32640",
"name": "Bontrager Tyro Youth Bike Helmet Fit Pad Kit",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "28849",
"name": "แผ่นบุซับสำหรับหมวกนิรภัยขี่จักรยาน Bontrager Specter WaveCel",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "22316",
"name": "แผ่นรองหมวกกันน็อกจักรยาน Bontrager Velocis Mips",
"price": "750.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "33411",
"name": "แผ่นรองหมวกจักรยาน Bontrager Starvos WaveCel",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "33565",
"name": "หมวกกันน็อกจักรยาน Bontrager Rally WaveCel แผ่นรองขนาดพอดี",
"price": "575.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}