개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "23032",
"name": "Trek Checkpoint Carbon Armor",
"price": "69000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12338",
"name": "트렉 3S 체인 키퍼",
"price": "42000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34426",
"name": "Trek Madone 9 Aero Chainkeeper",
"price": "42000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "40000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37727",
"name": "Trek Checkpoint SL & SLR Downtube Armor",
"price": "24000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37599",
"name": "Trek Checkpoint SL & SLR Gen 2 Chainstay Armor",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "10282",
"name": "트렉 카본 로드 프레임 체인스테이 스트라이크 플레이트",
"price": "14000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "28423",
"name": "Trek Boone CX Chainstay Armor",
"price": "9000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "28332",
"name": "트렉 P1 체인스테이 프로텍터",
"price": "7000.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}