개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "39000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44940",
"name": "Trek Ballista Mips Helmet Fit System",
"price": "38000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44096",
"name": "Trek Bike Helmet Fit System - Headmaster 3",
"price": "31000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45320",
"name": "Trek Kids Bike Helmet Fit System - Headmaster 3",
"price": "23000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37951",
"name": "Bontrager Circuit WaveCel BOA Helmet Fit System",
"price": "32000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14224",
"name": "Bontrager Bike Helmet Fit System - Micro Manager II",
"price": "25000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14222",
"name": "Bontrager Bike Helmet Fit System - Headmaster II",
"price": "19000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22617",
"name": "본트래거 벨로시스 밉스(Mips) 보아 바이크 헬멧 핏 시스템",
"price": "53000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22317",
"name": "본트래거 보아 바이크 헬멧 핏 시스템",
"price": "53000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "28845",
"name": "본트래거 웨이브셀 보아 바이크 헬멧 핏 시스템",
"price": "45000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "32635",
"name": "본트래거 퀵셋 II 자전거 헬멧 핏 시스템",
"price": "15000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "32639",
"name": "본트래거 다이얼드 자전거 헬멧 핏 시스템",
"price": "15000.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}