if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "44116",
"name": "ํธ๋ ์์คํฐ์ค ์์์ ํ ์์ ๊ฑฐ ํฌ๋ฉง",
"price": "63000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44115",
"name": "ํธ๋ ์์คํฐ์ค ์์์ ํ ๋ฐ์ค ๋ฐ์ดํฌ ํฌ๋ฉง",
"price": "90000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31564",
"name": "๋ณธํธ๋๊ฑฐ ๋ ๋ฆฌ ์จ์ด๋ธ์
MTB ํฌ๋ฉง",
"price": "199000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "17499",
"name": "๋ณธํธ๋๊ฑฐ ์์คํฐ์ค ์์์ ํ ๋ฐ์ดํฌ ํฌ๋ฉง",
"price": "49900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}