if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "11209",
"name": "Trek Diamant Villiger Adjustable Threadless Stem",
"price": "3800.0",
"brand": "Lee Chi",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10897",
"name": "トレック Non-Adjustable ステム",
"price": "3800.0",
"brand": "Lee Chi",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41474",
"name": "Promax Threadless Stem for 22.2mm Handlebar",
"price": "3000.0",
"brand": "Lee Chi",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}