개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "36846",
"name": "프리칼리버 24 8단 서스펜션",
"price": "490000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "36268",
"name": "프리칼리버 20 7단",
"price": "450000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purple",
"list": "More Options",
"position": 2
}
,
{
"id": "36271",
"name": "프리칼리버 20 프리휠",
"price": "390000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "36267",
"name": "프리칼리버 16",
"price": "370000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 4
}
,
{
"id": "28592",
"name": "프리칼리버 24 8단 서스펜션",
"price": "490000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "More Options",
"position": 5
}
,
{
"id": "28106",
"name": "프리칼리버 20 7단",
"price": "450000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "28107",
"name": "프리칼리버 20 7단",
"price": "450000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "28293",
"name": "프리칼리버 20",
"price": "390000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "28294",
"name": "프리칼리버 20",
"price": "390000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "28292",
"name": "프리칼리버 16",
"price": "370000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 10
}
,
{
"id": "28291",
"name": "프리칼리버 16",
"price": "370000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "orange",
"list": "More Options",
"position": 11
}
,
{
"id": "26794",
"name": "Precaliber 12",
"price": "320000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkvisibility",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}