if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type",
"price": "1688390.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type",
"price": "1468390.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41649",
"name": "Top Fuel 9.9 XTR",
"price": "1369390.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT",
"price": "1056990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35178",
"name": "Top Fuel 9.7",
"price": "681890.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36789",
"name": "Top Fuel 8",
"price": "448712.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}