개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "44094",
"name": "Trek Solstice Bike Helmet Visor",
"price": "16000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44099",
"name": "Trek Solstice Children's Bike Helmet Visor",
"price": "16000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45319",
"name": "Trek Tyro Youth Bike Helmet Visor",
"price": "15000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45318",
"name": "Trek Tyro Child Bike Helmet Visor",
"price": "15000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14157",
"name": "Bontrager Quantum Mips Bike Helmet Visor",
"price": "25000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33564",
"name": "본트래거 랠리 웨이브셀 자전거 헬멧 바이저",
"price": "24000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14164",
"name": "본트래거 솔스티스 자전거 헬멧 바이저",
"price": "20000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "28844",
"name": "본트래거 블레이즈 웨이브셀 자전거 헬멧 바이저",
"price": "20000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22680",
"name": "본트래거 네오바이저 자전거 헬멧 바이저",
"price": "17000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32638",
"name": "본트래거 타이로 아동용 자전거 헬멧 바이저",
"price": "15000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "32637",
"name": "Bontrager Tyro Children's Bike Helmet Visor",
"price": "15000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "14223",
"name": "Bontrager Ballista Bike Helmet Vent Cover",
"price": "8000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}