if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "37370",
"name": "Trek Voda Flow 21ozウォーターボトル",
"price": "3100.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27134",
"name": "ボントレガー SPDクリート",
"price": "3100.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22373",
"name": "ボントレガー Comp マルチツール",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14211",
"name": "ボントレガー XR Siliconeグリップセット",
"price": "2300.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12968",
"name": "ボントレガー シーラント インジェクター",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37375",
"name": "Trek Voda 21ozウォーターボトル",
"price": "2000.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33190",
"name": "ボントレガー Enduro フロントフェンダー",
"price": "1500.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}