if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "35003",
"name": "FX 2 디스크 3세대",
"price": "630000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40819",
"name": "FX 3 4세대",
"price": "1150000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40815",
"name": "FX 2 4세대",
"price": "940000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47256",
"name": "FX 스포츠 6",
"price": "4250000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47243",
"name": "FX 스포츠 4",
"price": "2490000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40822",
"name": "FX 스포츠 4",
"price": "2490000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35785",
"name": "FX 스포츠 4",
"price": "1990000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35021",
"name": "FX 3 디스크 3세대",
"price": "780000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35001",
"name": "FX 1 디스크 3세대",
"price": "540000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}