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": "36986",
"name": "Trek Starvos WaveCel Asia Fit ヘルメット",
"price": "18900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45105",
"name": "Trek Rally WaveCelマウンテンバイクヘルメット",
"price": "26900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36949",
"name": "トレック Rally WaveCel マウンテンバイクヘルメット(グローバルフィット)",
"price": "19000.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31564",
"name": "ボントレガー Rally WaveCel マウンテンバイク ヘルメット(グローバルフィット)",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "17499",
"name": "ボントレガー Solstice アジアフィット バイクヘルメット",
"price": "5900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}