if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "35223",
"name": "Trek 2021 Allant+/Diamant Zouma+ Driveside Dropout",
"price": "3200.0",
"brand": "Trek-Diamant",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24291",
"name": "Trek-Electra Disc Derailleur Hanger",
"price": "2800.0",
"brand": "Bontrager-Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31040",
"name": "Trek Fisher Sawyer 2011+ Dropout Hardware",
"price": "2616.0",
"brand": "Gary Fisher",
"category": "Bike hangers & dropouts",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31041",
"name": "Trek Fisher Alloy SS 2011+ Dropout Hardware",
"price": "2616.0",
"brand": "Gary Fisher",
"category": "Bike hangers & dropouts",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24275",
"name": "Fisher Cronus CX Derailleur Hanger",
"price": "2100.0",
"brand": "Gary Fisher",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24278",
"name": "Fisher CX Sliding Dropouts and Hangers",
"price": "1745.0",
"brand": "Gary Fisher",
"category": "Bike hangers & dropouts",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "39091",
"name": "Trek-Diamant Hyena Gen 2 Derailleur Hanger",
"price": "1200.0",
"brand": "Trek-Diamant",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36782",
"name": "Trek-Diamant M4x0.7x14mm Hanger Fastener",
"price": "700.0",
"brand": "Trek-Diamant",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}