if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "33333",
"name": "トレック Voda トレック 76 ウォーターボトル",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25254",
"name": "ボントレガー スタンダードチューブ(プレスタ)",
"price": "822.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}