概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "40289",
"name": "TQ Smart Box",
"price": "32400.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40286",
"name": "TQ HPR50 Remote With Cable",
"price": "22600.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "40291",
"name": "TQ Smart Box AXS Adapter Cable",
"price": "12400.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "40288",
"name": "TQ HPR50 Remote Cable",
"price": "9900.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "40295",
"name": "TQ HPR50 Centerlock Speed Sensor Magnet - Pack of 3",
"price": "6500.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "40293",
"name": "TQ Speed Sensor Cable Assembly",
"price": "6500.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "40294",
"name": "TQ 6-Bolt Speed Sensor Magnet 3-Pack",
"price": "6500.0",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "33691",
"name": "Trek 2021 Checkpoint SL Control Center Covers",
"price": "3900.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "orange",
"list": "More Options",
"position": 8
}
,
{
"id": "33620",
"name": "Trek 2021 Rail Gen 2 Bosch Kiox Display Mount",
"price": "2900.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32467",
"name": "Trek 2020 Rail 29 Speed Sensor Cable Guide",
"price": "700.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "42183",
"name": "Trek 2023 Rail & Powerfly Speed Sensor Adapter",
"price": "400.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "37891",
"name": "Trek-Diamant Bosch 750 Smart Speed Sensor Cable",
"price": "62700.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "44342",
"name": "Trek-Diamant Speed Sensor for Bosch Gen 4",
"price": "5600.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "42182",
"name": "Trek-Diamant Speed Sensor Adapter MY23",
"price": "500.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "33676",
"name": "Electra Vale Go! Speed Sensor Alignment Mount",
"price": "700.0",
"brand": "Bontrager-Electra",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}