概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "11323",
"name": "ボントレガー Interchange デジタル コンボ センサー",
"price": "7600.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12319",
"name": "ボントレガー DuoTrap S Digital センサー",
"price": "8900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25410",
"name": "Bontrager Carbon Road Frame DuoTrap S Cover",
"price": "700.0",
"brand": "Trek",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "28391",
"name": "ボントレガー 26mm ケイデンス バンド マグネット",
"price": "1300.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28393",
"name": "ボントレガー 9mm ケイデンス バンド マグネット",
"price": "1200.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "28394",
"name": "ボントレガー 4mm ケイデンス バンド マグネット",
"price": "1200.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25412",
"name": "Bontrager Threaded Wheel Magnet",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "13756",
"name": "Bontrager Aero Wheel Magnet",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "25406",
"name": "Bontrager DuoTrap S Chainstay Cover-Alloy Frames",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "25411",
"name": "Bontrager DuoTrap S Wheel Magnet Update Kit",
"price": "698.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "21490",
"name": "Bontrager SpeedTrap Spacer",
"price": "525.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "28270",
"name": "Bontrager SpeedTrap Fork Cap",
"price": "524.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "25402",
"name": "Madone Chainstay Rubber Gasket",
"price": "350.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "21493",
"name": "Bontrager Trip 100/200 Battery Cover",
"price": "350.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}