if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "36846",
"name": "Precaliber 24 8-Speed Suspension",
"price": "55000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28589",
"name": "Precaliber 24 8-speed Suspension",
"price": "54890.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28592",
"name": "Precaliber 24 8-speed Suspension",
"price": "54890.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}