if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "44116",
"name": "Trek Solstice Asia Fitヘルメット",
"price": "8900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44115",
"name": "Trek Solstice Asia Fit Mipsヘルメット",
"price": "12900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45105",
"name": "Trek Rally WaveCelマウンテンバイクヘルメット",
"price": "26900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31564",
"name": "ボントレガー Rally WaveCel マウンテンバイク ヘルメット(グローバルフィット)",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "17499",
"name": "ボントレガー Solstice アジアフィット バイクヘルメット",
"price": "5900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}