if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "255000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "165000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "299000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36142",
"name": "Domane+ AL 5",
"price": "399200.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "109890.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "301290.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "252357.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33082",
"name": "Domane AL 3 Gen 3",
"price": "197890.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33085",
"name": "Domane AL 4 Gen 3",
"price": "189668.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "138501.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}