if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41352",
"name": "Émonda SL 6",
"price": "535662.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41366",
"name": "Émonda SL 5",
"price": "339312.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "798600.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36977",
"name": "Émonda SL 6 Pro Di2",
"price": "629200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36958",
"name": "Émonda SL 6 Di2",
"price": "449735.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "398200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}