if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "188000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "99990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "219890.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "139000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "107800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "207823.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "275732.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "149512.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36969",
"name": "Marlin 8 Gen 3",
"price": "147840.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "129800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}