if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "37292",
"name": "Trek BioDynamic Low Archサイクリングインソール",
"price": "5900.0",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37294",
"name": "Trek BioDynamic High Archサイクリングインソール",
"price": "5900.0",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37293",
"name": "Trek BioDynamic Mid Archサイクリングインソール",
"price": "5900.0",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22475",
"name": "ボントレガー inForm BioDynamic Mid アーチ インソール",
"price": "6500.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13040",
"name": "ボントレガー inForm BioDynamic Low アーチ インソール",
"price": "6500.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22476",
"name": "ボントレガー inForm BioDynamic High アーチ インソール",
"price": "4225.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}