개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "47080",
"name": "Trek Integrated City Handlebar",
"price": "55000.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34025",
"name": "Trek Riser 25.4 20 Degree Cruiser Handlebar",
"price": "34000.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "31740",
"name": "Bontrager Urban 31.8 Carbon Cruiser Handlebar",
"price": "225000.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35281",
"name": "Bontrager Capital 31.8 Polished Alloy Cruiser Handlebar",
"price": "28000.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22200",
"name": "Bontrager Satellite 31.8 Matte Alloy Cruiser Handlebar",
"price": "25000.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34024",
"name": "Bontrager Satellite 25.4 35 Degree Cruiser Handlebar",
"price": "25000.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}