if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "33208",
"name": "TranzX JD-YSP18 Dropper Seatpost",
"price": "29600.0",
"brand": "TranzX",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41473",
"name": "Promax 27.2mm 2-Bolt Seatpost",
"price": "3500.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12827",
"name": "Electra Replacement Aluminum Seatpost",
"price": "990.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}