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": "45144",
"name": "Trek Line Elite Pedal Pin Kit",
"price": "1900.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "10861",
"name": "トレック Kids Dialed ペダル セット",
"price": "1700.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}