if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "125000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "99000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "270000.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "307890.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "80091.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "211112.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36826",
"name": "Dual Sport 3 Gen 5",
"price": "111672.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "109890.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "93407.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "70956.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger Gen 3",
"price": "67221.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}