概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "38009",
"name": "Trek 2022 Speed Concept TT Basebar",
"price": "123200.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "38001",
"name": "Trek 2022 Speed Concept SLR Basebar/Stem",
"price": "123200.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "13909",
"name": "ボントレガー Speed Concept Base Non-UCI リーガル ハンドルバー",
"price": "88100.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41724",
"name": "Trek TT Mono Extension Plug-in",
"price": "30900.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41723",
"name": "Trek TT Mono Extension",
"price": "30900.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30032",
"name": "Trek TT Mono Ergo Extension",
"price": "30900.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "8500.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41169",
"name": "Trek Speed Concept Handlebar Storage Port Foam",
"price": "500.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41168",
"name": "Trek Speed Concept Handlebar Cover Foam",
"price": "500.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "11862",
"name": "Bontrager Speed Concept Mono Bar Extension",
"price": "22660.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "07224",
"name": "ボントレガー Race Lite Aero Clip-On ハンドルバー",
"price": "21900.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}