概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "41235",
"name": "Trek UV Sunstopサイクリングアームカバー",
"price": "4500.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "46740",
"name": "Santini Lidl-Trekチームレプリカアームウォーマー",
"price": "4400.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 2
}
,
{
"id": "23265",
"name": "Santini Trek-Segafredo Men's Team Arm Warmer",
"price": "2960.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "37585",
"name": "サンティーニ TREK-Segafredo チーム アームウォーマー",
"price": "2450.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "44386",
"name": "サンティーニ TREK-Segafredo レプリカ アームウォーマー",
"price": "2450.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "25032",
"name": "ボントレガー サーマル サイクリング レッグウォーマー",
"price": "4830.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25030",
"name": "ボントレガー サーマル サイクリング ニーウォーマー",
"price": "4130.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "25028",
"name": "ボントレガー サーマルサイクリング アームウォーマー",
"price": "3430.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "14772",
"name": "ボントレガー Halo サーマル レッグウォーマー",
"price": "2900.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
,
{
"id": "22817",
"name": "ボントレガー UV サンストップ サイクリング アームカバー",
"price": "2900.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}