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": "47243",
"name": "FX Sport 4",
"price": "270000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "1182390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "277101.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "211112.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"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
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "339312.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "252357.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}