if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "35873",
"name": "ボントレガー Pro Blendr Garmin アダプターパック",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31874",
"name": "Trek Water Bottle Nutsert Plug",
"price": "300.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}