概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "22565",
"name": "ボントレガー Pro Keyed チェーン ロック",
"price": "6500.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22564",
"name": "ボントレガー Elite Keyed チェーン ロック",
"price": "5700.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37895",
"name": "Trek Lock Bumper Set with Bolts",
"price": "3900.0",
"brand": "Trek",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22562",
"name": "ボントレガー Comp Combo ケーブル ロック",
"price": "4700.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "26939",
"name": "ボントレガー ケーブル Combo ロック",
"price": "3600.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34253",
"name": "ボントレガー Pocket Locket バイク ロック",
"price": "3600.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34251",
"name": "ボントレガー Kids Combo チェーン ロック",
"price": "2925.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "blue",
"list": "More Options",
"position": 7
}
,
{
"id": "26938",
"name": "ボントレガー Keyed ケーブル ロック",
"price": "1500.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41254",
"name": "ABUS Ring Lock 4650XL NR & RIB Battery Lock BES3 DT3 T82",
"price": "16300.0",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "41255",
"name": "ABUS Ring Lock 4750XL R & RIB Battery Lock BES3 DT3 T82",
"price": "16300.0",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "55922",
"name": "ABUS Ring Lock 4650L NR with Removable Key",
"price": "10800.0",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "32619",
"name": "AXA Bosch 2 Downtube Battery Lock & Removeable Key",
"price": "5600.0",
"brand": "AXA",
"category": "Bike locks",
"variant": "greylight",
"list": "More Options",
"position": 12
}
,
{
"id": "41157",
"name": "ABUS Bosch Smart System T82 Downtube Battery Lock",
"price": "4700.0",
"brand": "ABUS",
"category": "E-bike batteries & parts",
"variant": "greylight",
"list": "More Options",
"position": 13
}
,
{
"id": "12193",
"name": "AXA RIDE+ G2 Docking ロック シリンダー",
"price": "3200.0",
"brand": "AXA",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}