if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "45105",
"name": "Trek Rally WaveCelマウンテンバイクヘルメット",
"price": "26900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44115",
"name": "トレック Solstice アジアフィット Mipsヘルメット",
"price": "12900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41743",
"name": "Trek Circuit Waterproof Winterサイクリンググローブ",
"price": "9900.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44116",
"name": "トレック Solstice アジアフィット ヘルメット",
"price": "8900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41744",
"name": "Trek Circuit Windshellサイクリンググローブ",
"price": "7900.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37098",
"name": "トレック Circuit フルフィンガー Twin Gel ユニセックスサイクリンググローブ",
"price": "6500.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41745",
"name": "Trek Circuit Thermalサイクリンググローブ",
"price": "5900.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37106",
"name": "トレック Evoke ユニセックスマウンテンバイクグローブ",
"price": "3500.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "31564",
"name": "ボントレガー Rally WaveCel マウンテンバイク ヘルメット(グローバルフィット)",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "17499",
"name": "ボントレガー Solstice アジアフィット バイクヘルメット",
"price": "5900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}