if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "36294",
"name": "トレック オリジナル フーディ",
"price": "5900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37320",
"name": "トレック Go By Bike フーディ",
"price": "5900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36293",
"name": "トレック Vintage Logo フーディ",
"price": "5900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47062",
"name": "Trek Japan Logo Hoodie",
"price": "4900.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37321",
"name": "Trek Bicycle Co. Lightweight Unisex Hoodie",
"price": "4800.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41974",
"name": "Trek Bicycle Tonal Long Sleeve Unisex T-Shirt",
"price": "4800.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34745",
"name": "トレック マウンテン ハット",
"price": "3465.0",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36287",
"name": "トレック Patch トラッカー ハット",
"price": "2730.0",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}