if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "319352.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "301290.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "272800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "252357.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33078",
"name": "Émonda ALR 4",
"price": "218900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33082",
"name": "Domane AL 3 Gen 3",
"price": "197890.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33085",
"name": "Domane AL 4 Gen 3",
"price": "189668.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "138501.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}