概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "47147",
"name": "Trek Adventureフレームバッグ",
"price": "22900.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47148",
"name": "Trek Adventure Triangleバッグ",
"price": "14900.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47358",
"name": "Trek Adventure Top Tubeバッグ",
"price": "7900.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "48444",
"name": "Trek Thumb Screws - 4個入り",
"price": "1400.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41673",
"name": "トレック アドベンチャー Boss フルフレームバッグ",
"price": "9845.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "4000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "35555",
"name": "ボントレガー アドベンチャー Boss フレームバッグ",
"price": "11175.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "13984",
"name": "ボントレガープロ スピードボックス",
"price": "4500.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "14025",
"name": "ボントレガー Speed Concept ドラフトボックス II Lid",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37387",
"name": "ボントレガーサムスクリュー",
"price": "2200.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "38548",
"name": "Trek 2022 Speed Concept SLR Bento Box Assembly",
"price": "5400.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "38003",
"name": "Trek 2022 Speed Concept SLR Bento Box Bucket",
"price": "2100.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "38387",
"name": "Trek 2022 Speed Concept SLR Bento Box Divider",
"price": "600.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}