if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "36061",
"name": "Trek Circuit Softshellジャケット",
"price": "11830.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34132",
"name": "ボントレガー Circuit ロード サイクリング シューズ",
"price": "16900.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36068",
"name": "トレック Circuit LTD ロングスリーブジャージ",
"price": "8330.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34789",
"name": "ボントレガー Quantum マウンテンバイク シューズ",
"price": "9520.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37365",
"name": "トレック Circuit サーマルロングスリーブジャージ",
"price": "9030.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}