개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "23383",
"name": "본트래거 바이크 세척제",
"price": "23000.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "23382",
"name": "본트래거 디그리서",
"price": "30000.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "67000.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "23384",
"name": "본트래거 자전거 광택제",
"price": "19000.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}