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": "41012",
"name": "Marlin+ 6",
"price": "429000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "440000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "219890.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "139000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "279000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "207823.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33258",
"name": "Procaliber 9.5 Gen 2",
"price": "259512.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37475",
"name": "Powerfly 4 Gen 4",
"price": "445192.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "149512.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36969",
"name": "Marlin 8 Gen 3",
"price": "147840.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "129800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "107800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}