if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "22822",
"name": "ボントレガー Classic サイクリング キャップ",
"price": "1900.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22819",
"name": "ボントレガー UV サンストップ サイクリング スカル キャップ",
"price": "1900.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35320",
"name": "ボントレガー Race クオーター サイクリング ソックス",
"price": "1045.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35322",
"name": "ボントレガー Race クルー サイクリング ソックス",
"price": "1045.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}