if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41185",
"name": "Trek Speed Concept Flippable Seatpost Head Plug",
"price": "500.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44957",
"name": "Bontrager Line 31.6mm Gen 3 Dropper Travel Reducing Spacer",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32429",
"name": "Trek Madone SLR Seatpost Reflector Mounting Bolt",
"price": "300.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42264",
"name": "Trek-Diamant Ergotec PM-705N 90-110kg Suspension Seatpost",
"price": "37200.0",
"brand": "Trek-Diamant",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}