개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "22374",
"name": "본트래거 엘리트 멀티툴",
"price": "45000.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22373",
"name": "본트래거 콤프 멀티툴",
"price": "25000.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "4500.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "41411",
"name": "트렉 프로 BITS 멀티툴",
"price": "109000.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44751",
"name": "트렉 엘리트 BITS 멀티툴",
"price": "79000.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "48900",
"name": "트렉 BITS 통합형 멀티툴",
"price": "49000.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "48899",
"name": "트렉 콤프 멀티툴",
"price": "25000.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "26602",
"name": "Bontrager 스위치 레버 툴",
"price": "31000.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}