概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "34650",
"name": "トレック Circuit LTD サイクリング ジャージ",
"price": "7095.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "47295",
"name": "Rapha Coreサイクリングジャージ",
"price": "13500.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "37365",
"name": "トレック Circuit サーマルロングスリーブジャージ",
"price": "7095.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "36068",
"name": "トレック Circuit LTD ロングスリーブジャージ",
"price": "7085.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "47299",
"name": "Rapha Brevetサイクリングジャージ",
"price": "26500.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "47291",
"name": "Rapha Pro Team Trainingサイクリングジャージ",
"price": "19500.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "47293",
"name": "Rapha Core Lightweightサイクリングジャージ",
"price": "13500.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "More Options",
"position": 7
}
,
{
"id": "34653",
"name": "トレック Solstice サイクリング ジャージ",
"price": "7900.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "34846",
"name": "サンティーニ トレック Factory Racing メンズ XC チーム レプリカ サイクリング ジャージ",
"price": "6950.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_bluelight",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}