if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "30889",
"name": "トレック 2020 Domane AL フォーク",
"price": "47200.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41475",
"name": "Promax 1 1/8˝ 25.4mm Clamp Stem",
"price": "4100.0",
"brand": "Lee Chi",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "40645",
"name": "Trek Domane+ AL Motor Cover",
"price": "2900.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41284",
"name": "Trek Domane+ AL BB/Motor Cover",
"price": "1900.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "44508",
"name": "Trek Domane+ AL Top Tube Cable Guide",
"price": "1300.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "53863",
"name": "Trek Rail+ Alloy Gen 5 Chainstay Speed Sensor Entry Guide",
"price": "600.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "45316",
"name": "Trek Domane AL Headtube Water Shroud",
"price": "500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44675",
"name": "Trek 2023 E-MTB Motor Armor Hat Spacer",
"price": "300.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}