if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "23383",
"name": "ボントレガー バイクウォッシュ",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23386",
"name": "ボントレガー グリス",
"price": "2800.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23382",
"name": "ボントレガー ディグリーザー",
"price": "3500.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "8700.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23381",
"name": "ボントレガー チェーンルーブ",
"price": "2800.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23385",
"name": "ボントレガー アッセンブリールーブ",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}