if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "47291",
"name": "Rapha Pro Team Trainingサイクリングジャージ",
"price": "19500.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47321",
"name": "Rapha Pro Teamサイクリングソックス",
"price": "3300.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47307",
"name": "Rapha Pro Team Trainingサイクリングビブショーツ",
"price": "28500.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47335",
"name": "Rapha Pro Team Lightweightバックパック",
"price": "18500.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47323",
"name": "Rapha Pro Teamサイクリングミット",
"price": "8300.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}