if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "33247",
"name": "ボントレガー トランスミッター マイクロリモート",
"price": "2450.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34035",
"name": "Trek Commuter Comp Rライト",
"price": "10320.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34036",
"name": "トレック Commuter Comp R Flare R Cityライト前後セット",
"price": "15120.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34037",
"name": "Trek Commuter Pro RT フロントバイクライト",
"price": "23120.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}