if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "09848",
"name": "ボントレガー XXX エアロ ブレーキレバー",
"price": "22000.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33246",
"name": "Lee Chi V-Brake Levers",
"price": "2900.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41469",
"name": "Promax LM-48 Brake Levers",
"price": "2600.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10762",
"name": "Tektro CL530-RS ブレーキレバー",
"price": "2200.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "09955",
"name": "トレック キッズ ブレーキレバー",
"price": "1400.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}