if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "25037",
"name": "ボントレガー サーマルサイクリング キャップ",
"price": "2340.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33009",
"name": "ボントレガー Comp トゥ スパイク キット",
"price": "2300.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23383",
"name": "ボントレガー バイクウォッシュ",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}