๊ฐ์
๋ฒจ๋ก์์ค ์ผ์ธ ์ ํ ๊ฐ์
๋ฒจ๋ก์์ค ์ผ์ธ ๋ ์ต๊ณ ๊ฐ ์๋๋ฉด ๋ง์กฑํ์ง ์๋ ๋ถ๋ค์ ์ํด ํ๋ฆฌ๋ฏธ์ ์์ฌ์ ํต๊ธฐ์ฑ์ด ๊ฐ์ฅ ์ฐ์ํ ํ๋ก ์ธํผ ์ค๋ชจ์ ์์ฌ๋ก ์ ์๋์์ต๋๋ค.
์์ ๋ณด๊ธฐ
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "32742",
"name": "ํธ๋ ์จํท ์ฌ์ดํด๋ง ๋น ์ผ์ธ ",
"price": "119000.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47308",
"name": "๋ผํ ์ฝ์ด ์ฌ์ดํด๋ง ๋น ์ผ์ธ ",
"price": "180000.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "32744",
"name": "ํธ๋ ์จํท ์ฌ์ดํด๋ง ์ผ์ธ ",
"price": "111000.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32746",
"name": "ํธ๋ ์์คํฐ์ค ์ฌ์ดํด๋ง ์ผ์ธ ",
"price": "79000.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47337",
"name": "๋ผํ ์ฌ์ฑ์ฉ ํ๋ก ํ ํธ๋ ์ด๋ ์ฌ์ดํด๋ง ๋น ์ผ์ธ ",
"price": "285000.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "47307",
"name": "๋ผํ ํ๋ก ํ ํธ๋ ์ด๋ ์ฌ์ดํด๋ง ๋น ์ผ์ธ ",
"price": "285000.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "46758",
"name": "์ฐํฐ๋ ๋ฆฌ๋ค-ํธ๋ RSL ํ ๋น ์ผ์ธ ",
"price": "215000.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "45332",
"name": "์ฐํฐ๋ Lidl-ํธ๋ ๋ ํ๋ฆฌ์นด ๋ ์ด์ค ๋น ์ผ์ธ ",
"price": "167000.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 8
}
,
{
"id": "47310",
"name": "๋ผํ ์ฝ์ด ์นด๊ณ ์ฌ์ดํด๋ง ์ผ์ธ ",
"price": "165000.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "44121",
"name": "์ฐํฐ๋ ํธ๋ -์ธ๊ฐํ๋ ๋ ๋จ์ฑ์ฉ RSL ํ ๋น ์ผ์ธ ",
"price": "145000.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "44123",
"name": "์ฐํฐ๋ ํธ๋ -์ธ๊ฐํ๋ ๋ ๋จ์ฑ์ฉ ํ ๋ ํ๋ฆฌ์นด ๋น ์ผ์ธ ",
"price": "105000.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}