개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "09848",
"name": "본트래거 XXX Aero",
"price": "177000.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "41469",
"name": "Promax LM-48 Brake Levers",
"price": "28000.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "33246",
"name": "Lee Chi V-Brake Levers",
"price": "25000.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "More Options",
"position": 3
}
,
{
"id": "10762",
"name": "Tektro CL530-RS Brake Lever",
"price": "23000.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}