if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "1900.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32684",
"name": " VP Components Square Taper Bottom Bracket",
"price": "1900.0",
"brand": "VP Components",
"category": "Bike bottom brackets",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26060",
"name": "VP Components FP-B701 Old-Style Nut-Type ボトムブラケット",
"price": "1600.0",
"brand": "VP Components",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28362",
"name": "Shimano Optislickディレイラーケーブル",
"price": "1249.0",
"brand": "Shimano",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36832",
"name": "Trek-Diamant Prowheel Crank Preload Bolt",
"price": "1100.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31390",
"name": "Prowheel Crankarm Bolts",
"price": "900.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}