๊ฐ์
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "44520",
"name": "ํธ๋ ์์ฌ๋ฃจ์ค RSL ๋ฐ์ดํฌ ์์ฅ",
"price": "386000.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33462",
"name": "๋ณธํธ๋๊ฑฐ ์์ฌ๋ฃจ์ค RSL ๋ฐ์ดํฌ ์์ฅ",
"price": "343000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "27093",
"name": "๋ณธํธ๋๊ฑฐ ์์ฌ๋ฃจ์ค ํ๋ก ์์ ๊ฑฐ ์์ฅ",
"price": "231000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27094",
"name": "๋ณธํธ๋๊ฑฐ ์์ฌ๋ฃจ์ค ์๋ฆฌํธ ์์ ๊ฑฐ ์์ฅ",
"price": "135000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "27101",
"name": "๋ณธํธ๋๊ฑฐ ์์ฌ๋ฃจ์ค ์ฝคํ ์์ ๊ฑฐ ์์ฅ",
"price": "87000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}