概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41463",
"name": "C-Star Hydraulic Brake Hose",
"price": "6600.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32115",
"name": "Tektro Hydraulic Brake Hose Kit",
"price": "4500.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33534",
"name": "Fox Suspension Fork Brake Hose Guide Kit 2020",
"price": "4500.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings - 10 Pack",
"price": "3300.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 4
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs - Pack of 10",
"price": "3300.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 5
}
,
{
"id": "41462",
"name": "C-Star Olive and Barb V2",
"price": "3200.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "More Options",
"position": 6
}
,
{
"id": "40919",
"name": "Tektro Olive & Barb Dorado Auriga Comp Draco Brake Part - Set of 10",
"price": "3000.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "27542",
"name": "Trek Hydraulic Housing Front Frame Grommet",
"price": "1700.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41592",
"name": "Promax D-Plug Type Brake Hose Fitting Kit",
"price": "900.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_gold",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}