if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "35002",
"name": "FX 1 Disc Mid-step Gen 3",
"price": "67221.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}