概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41409",
"name": "Trek Line Eliteフラットペダルセット",
"price": "7900.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "35809",
"name": "ボントレガー Line Compフラットペダルセット",
"price": "4500.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "41410",
"name": "トレック Line Proフラットペダルセット",
"price": "14900.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "22372",
"name": "ボントレガー コミューター ペダル セット",
"price": "15900.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44426",
"name": "Trek Line Compフラットペダルセット",
"price": "4500.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "10435",
"name": "トレック ハイブリッド ペダル セット",
"price": "3800.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "greylight_black",
"list": "More Options",
"position": 6
}
,
{
"id": "32568",
"name": "VP Components VP-536 Nylon Pedal Set",
"price": "3400.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "teal",
"list": "More Options",
"position": 7
}
,
{
"id": "45142",
"name": "Trek Line Pro/Elite Pedal Axle Rebuild Kit",
"price": "3100.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "30971",
"name": "Trek Kids' Platform Large Pedal Set",
"price": "2900.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "More Options",
"position": 9
}
,
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "2800.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "45143",
"name": "Trek Line Pro Pedal Pin Kit",
"price": "2500.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 11
}
,
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "1900.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "45144",
"name": "Trek Line Elite Pedal Pin Kit",
"price": "1900.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "10861",
"name": "トレック Kids Dialed ペダル セット",
"price": "1700.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "More Options",
"position": 14
}
,
{
"id": "14345",
"name": "Bontrager Line Pro Pedal Axle Rebuild Kit",
"price": "4700.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 15
}
,
{
"id": "35291",
"name": "ボントレガー シティ ペダル セット",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "26735",
"name": "Bontrager Line Pro Pedal Pin Kit",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}