if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "JPY", "impressions": [ { "id": "41741", "name": "Trek Softshellサイクリングシューズカバー", "price": "10900.0", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "41742", "name": "Trek Waterproofサイクリングシューズカバー", "price": "10900.0", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "41740", "name": "Trek Windshellサイクリングトーカバー", "price": "3900.0", "brand": "Trek", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "14773", "name": "ボントレガー S2 ソフトシェル サイクリング シューズカバー", "price": "7900.0", "brand": "Bontrager", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "14775", "name": "ボントレガー S1 ソフトシェル サイクリング シューズカバー", "price": "5400.0", "brand": "Bontrager", "category": "Cycling booties & toe covers", "variant": "yellowvisibility", "list": "CATEGORY", "position": 5 } , { "id": "25045", "name": "ボントレガー ウインドシェル サイクリング トゥカバー", "price": "2800.0", "brand": "Bontrager", "category": "Cycling booties & toe covers", "variant": "black", "list": "CATEGORY", "position": 6 } ] } }); } else { console.log("dataLayer"); }