if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "32096",
"name": "트렉 탑 퓨얼 29 2020 체인스테이 로고 데칼",
"price": "25000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14807",
"name": "트렉 헤드배지",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}