if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "44353",
"name": "Trek Farley 27.5˝ Rigid Fork",
"price": "98000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "44646",
"name": "Trek 2023 Farley Alloy Chainstay Armor",
"price": "3300.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "44757",
"name": "Trek Farley Bolt-on Front Fender",
"price": "5900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "44903",
"name": "Trek 2023 Farley Medium Downtube Armor",
"price": "1300.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "44650",
"name": "Trek 2023 Farley Alloy Rigid Fork Bumpers",
"price": "1300.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "44918",
"name": "Trek 2023 Farley Alloy Rear Cargo Rack Strut Kit",
"price": "1800.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "44645",
"name": "Trek 2023 Farley Alloy Bottom Bracket Cable Guide",
"price": "500.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44917",
"name": "Trek 2023 Farley Alloy Rear Cargo Rack Light Bracket",
"price": "800.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}