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": "34129",
"name": "ボントレガー Evoke マウンテンバイク シューズ",
"price": "20315.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24883",
"name": "ボントレガー Rally マウンテンバイク シューズ",
"price": "5900.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34789",
"name": "ボントレガー Quantum マウンテンバイク シューズ",
"price": "4700.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}