if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "38184",
"name": "ピレリ P ZERO Race TLRロードタイヤ",
"price": "9750.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "brown_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47316",
"name": "ラファ Coreジレ",
"price": "9800.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47311",
"name": "ラファ Core カーゴウィメンズショーツ",
"price": "8200.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "79363",
"name": "Rapha Gore-Tex Windstopper Thermal Hat",
"price": "4300.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47321",
"name": "ラファ Pro Teamソックス",
"price": "1800.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}