if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "45259",
"name": "Trek Fetch+ 2 Front Pannier Rack",
"price": "122000.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40145",
"name": "트렉 페치+ 2 펜더 세트",
"price": "120000.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}