개요
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "KRW",
"impressions": [
{
"id": "37965",
"name": "Bontrager NCS 35mm Fender Alloy Mud Flap",
"price": "12000.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37967",
"name": "Bontrager NCS 55mm Fender Alloy Mud Flap",
"price": "12000.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37966",
"name": "Bontrager NCS 45mm Fender Alloy Mud Flap",
"price": "12000.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41096",
"name": "Eurofender Standard 58mm Mud Flap - Set of 5",
"price": "19000.0",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31068",
"name": "Eurofender Scatto Spoiler",
"price": "11000.0",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32448",
"name": "Trek Allant+/Diamant Zouma+ E-bike Front Fender Wire Cover",
"price": "9000.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32447",
"name": "Trek Allant+/Diamant Zouma+ E-bike Rear Fender Wire Cover",
"price": "8000.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32446",
"name": "Trek Allant+/Diamant Zouma+ 2020 E-bike Fender nose",
"price": "7000.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}