if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41012",
"name": "Marlin+ 6",
"price": "429000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41691",
"name": "Rail 5 Gen 3",
"price": "840000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36715",
"name": "Domane+ SLR 9",
"price": "1800000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36708",
"name": "Domane+ SLR 7",
"price": "1500000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36142",
"name": "Domane+ AL 5",
"price": "399200.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37428",
"name": "Rail 9.7 Gen 4",
"price": "699083.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35312",
"name": "Rail 5 Gen 2",
"price": "740300.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37425",
"name": "Rail 5 Gen 3",
"price": "622072.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37423",
"name": "Powerfly FS 4 Gen 3",
"price": "537592.0",
"brand": "Trek",
"category": "Electric 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": "35849",
"name": "FX+ 2 Stagger",
"price": "199000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35848",
"name": "FX+ 2",
"price": "199000.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35314",
"name": "Rail 9.7 Gen 2",
"price": "976800.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}