概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "24588",
"name": "Trek Bosch Gen 3 Alloy Chainguard",
"price": "19600.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44932",
"name": "e*Thirteen e*Spec Chainguide for 55mm Chainline for Bosch",
"price": "6300.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "5100.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "21468",
"name": "トレック 3S チェーンキーパー",
"price": "4300.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "30974",
"name": "Trek Precaliber 20 Chainguard",
"price": "2000.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30972",
"name": "Trek Precaliber 12 Chainguard",
"price": "1800.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "30973",
"name": "Trek Precaliber 16 Chainguard",
"price": "1700.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35667",
"name": "Trek 2021 E-Caliber 29 Chainstay Bridge M6x1x20mm Bolts",
"price": "1700.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "34642",
"name": "Trek G3 Motor Mount Chain Guide",
"price": "800.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "09609",
"name": "Trek-Diamant Bottom Bracket Mount 2-Piece Chainguard",
"price": "8600.0",
"brand": "Bontrager",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "28386",
"name": "Hesling Nexus 7 Bosch チェーンガード",
"price": "14800.0",
"brand": "Hesling",
"category": "Bike chainguards & chain cases",
"variant": "black_greydark",
"list": "More Options",
"position": 11
}
,
{
"id": "26692",
"name": "トレック Super Commuter+/Zouma+ チェーンリングガード",
"price": "11200.0",
"brand": "Ride+",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "34629",
"name": "Trek-Diamant Chainguard Top Cover",
"price": "10600.0",
"brand": "Trek-Diamant",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "34996",
"name": "Trek-Diamant Bosch Gen 3 V2 Chainguard",
"price": "10200.0",
"brand": "Trek-Diamant",
"category": "Bike chainguards & chain cases",
"variant": "black_greydark",
"list": "More Options",
"position": 14
}
,
{
"id": "24601",
"name": "SKS Chainbow Chainguard",
"price": "8400.0",
"brand": "SKS",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}