if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "35337",
"name": "Boone 6",
"price": "538890.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "525690.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35303",
"name": "Domane SL 6 Gen 3",
"price": "504900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32561",
"name": "Émonda SL 6 Disc",
"price": "444400.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36958",
"name": "Émonda SL 6 Di2",
"price": "423280.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32560",
"name": "Émonda SL 5 Disc",
"price": "349800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "319352.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "278740.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}