if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "41710",
"name": "마린+ 8",
"price": "4590000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41015",
"name": "마린+ 6",
"price": "3890000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37426",
"name": "레일 7 3세대",
"price": "6630000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41664",
"name": "레일 9.8 GX AXS T형 4세대",
"price": "9520000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35846",
"name": "FX+ 2",
"price": "1970000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36392",
"name": "듀얼 스포츠+ 2",
"price": "1590000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37427",
"name": "레일 9.9 XX1 AXS 4세대",
"price": "1.67E+7",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37271",
"name": "레일 9.8 GX AXS 4세대",
"price": "7620000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}