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": "41349",
"name": "Checkpoint SLR 7 AXS",
"price": "1380390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellowlight_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "1326390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "923153.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}