概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "11410",
"name": "Trek Pavement Crankset",
"price": "6500.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "10059",
"name": "Trek Dialed 24" Kids' Crankset",
"price": "6100.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35529",
"name": "Trek Wheel Top Alloy Kids' Crankset",
"price": "5500.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "10057",
"name": "トレック 16" Kids クランク",
"price": "5200.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "10058",
"name": "トレック 20" Kids クランク",
"price": "4900.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45448",
"name": "Trek Wheel Top 20" Crankset",
"price": "3300.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "26247",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set with Guard",
"price": "19900.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "12310",
"name": "Bosch Gen 3 (Mini ISIS) Crank Arm Set",
"price": "16200.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "26246",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set",
"price": "13700.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "28409",
"name": "Bosch Gen 2 & 4 (ISIS) Crank Arm Set",
"price": "13700.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "37658",
"name": "Prowheel PRO-D42P Crankset",
"price": "7100.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "36161",
"name": "Trek-Diamant Wheel Top DCRX1 Double Crankset",
"price": "7000.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "45291",
"name": "Prowheel Kids' 30T Crank",
"price": "6100.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "35297",
"name": "Trek-Diamant Wheel Top G4XD Triple Crank",
"price": "4100.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "40461",
"name": "Prowheel ISIS Bosch Gen 2 & 4 Crank Arms",
"price": "4100.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}