if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "455000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41655",
"name": "Boone 5",
"price": "385000.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "364000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "61560",
"name": "Émonda SL 5",
"price": "271200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purplelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "239400.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "58244",
"name": "Madone SL Gen 8フレームセット",
"price": "190500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purplelight_black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}