개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "44520",
"name": "트렉 에올루스 RSL 바이크 안장",
"price": "429000.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33462",
"name": "본트래거 에올루스 RSL 바이크 안장",
"price": "429000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "27093",
"name": "본트래거 에올루스 프로 자전거 안장",
"price": "289000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27094",
"name": "본트래거 에올루스 엘리트 자전거 안장",
"price": "169000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "27101",
"name": "본트래거 에올루스 콤프 자전거 안장",
"price": "109000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}