if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "59667",
"name": "Madone SLR Gen 8フレームセット",
"price": "880000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "81614",
"name": "Domane SLR Gen 5フレームセット",
"price": "660000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "94601",
"name": "Domane SLR Gen 5フレームセット",
"price": "660000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "81613",
"name": "Domane SL Gen 5フレームセット",
"price": "335000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35671",
"name": "Speed Concept SLR フレームセット",
"price": "895000.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46763",
"name": "Checkmate SLRフレームセット",
"price": "720000.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4フレームセット ",
"price": "690000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "58244",
"name": "Madone SL Gen 8フレームセット",
"price": "190500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purplelight_black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}