if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "38551",
"name": "トレックRCS Pro Blendrステム",
"price": "17900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "40281",
"name": "TQ HPR レンジエクステンダー バッテリー",
"price": "89900.0",
"brand": "TQ",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41599",
"name": "ボントレガー RSL エアロロード ハンドルバー",
"price": "59900.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}