if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "25835",
"name": "トレック バーステム チタニウム ピンチボルト",
"price": "1300.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32593",
"name": "トレック Blendr To BarStem マウンティングボルト",
"price": "400.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47384",
"name": "Trek Aero RSL Barstem Pro Blendr Mount",
"price": "5500.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41067",
"name": "Hyena Bluetooth HMI Clamp",
"price": "2300.0",
"brand": "Hyena",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}