if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "45594",
"name": "MRP MXg Bash Guard & Chain Guide for Trek 2024 Slash",
"price": "29500.0",
"brand": "Trek",
"category": "Bike chain guides",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45290",
"name": "Trek Wahoo Chainkeeper",
"price": "600.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21905",
"name": "トレック Powerfly F/S チェーンガイド",
"price": "700.0",
"brand": "Ride+",
"category": "Bike chain guides",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}