if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "594000.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "252357.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "339312.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "1182390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "923153.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}