if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "35112",
"name": "엑스칼리버 9",
"price": "1750000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35069",
"name": "엑스칼리버 8",
"price": "1350000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}