if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "35041",
"name": "Trek RSLマウンテンバイクシューズ",
"price": "69900.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45271",
"name": "Trek Cambionマウンテンバイクシューズ",
"price": "49900.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45272",
"name": "Trek Forayマウンテンバイクシューズ",
"price": "29900.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25343",
"name": "ボントレガー XXX マウンテンバイク シューズ",
"price": "27900.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "ボントレガー Foray マウンテンバイク シューズ",
"price": "21675.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33009",
"name": "ボントレガー Comp トゥ スパイク キット",
"price": "2300.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}