if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "440000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "360000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "279000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33258",
"name": "Procaliber 9.5 Gen 2",
"price": "259512.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}