if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "1370390.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "1326390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_green",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}