if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "19000.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32568",
"name": "VP Components VP-536 Nylon Pedal Set",
"price": "18000.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45144",
"name": "Trek Line Elite Pedal Pin Kit",
"price": "18000.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}