if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "45367",
"name": "트렉 트레일 남녀공용 티셔츠",
"price": "45000.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45368",
"name": "트렉 모자이크 남녀공용 티셔츠",
"price": "45000.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41976",
"name": "Trek Bicycle Tonal Unisex T-Shirt",
"price": "29000.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}