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": "41349",
"name": "Checkpoint SLR 7 AXS",
"price": "1380390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellowlight_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "1326390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "1182390.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "307890.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "211112.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "923153.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "339312.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "252357.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}