概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "48049",
"name": "Trek Aero RSL Roadインテグレーテッド ハンドルバー/ステム",
"price": "89900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "13661",
"name": "Trek Madone KVF エアロ インテグレーテッド ハンドルバー/ステム",
"price": "89300.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35019",
"name": "ボントレガー RSL MTB ハンドルバー/ステム",
"price": "69900.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32193",
"name": "ボントレガー XXX インテグレーテッド ロード ハンドルバー/ステム",
"price": "53460.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "48102",
"name": "Trek Aero RSL Barstem Bearing Top Cover",
"price": "4800.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "47609",
"name": "Trek Aero RSL Barstem Bearing Top Cover - Low",
"price": "2800.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "48103",
"name": "Trek Aero RSL Barstem Headset Spacers",
"price": "800.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41756",
"name": "Trek Madone SLR Gen 7 Barstem",
"price": "74400.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "34815",
"name": "Trek Aeolus BarStem Routing Cover",
"price": "10700.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "42042",
"name": "Trek 2023 Madone SLR Gen 7 Integrated Barstem Bearing Top Cap",
"price": "1100.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "44564",
"name": "ボントレガー Aeolus RSL VR-C ハンドルバー/ステム",
"price": "79900.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "greydark",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}