概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "44098",
"name": "Trek Solstice Youth Bike Helmet Visor",
"price": "1600.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45319",
"name": "Trek Tyro Youth Bike Helmet Visor",
"price": "1600.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44094",
"name": "Trek Solstice Bike Helmet Visor",
"price": "1600.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45318",
"name": "Trek Tyro Child Bike Helmet Visor",
"price": "1600.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28844",
"name": "ボントレガー Blaze WaveCel バイク ヘルメット バイザー",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33564",
"name": "ボントレガー Rally WaveCel バイク ヘルメット バイザー",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22680",
"name": "ボントレガー NeoVisor バイク ヘルメット バイザー",
"price": "2100.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32638",
"name": "ボントレガー Tyro ユース バイク ヘルメット バイザー",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "32637",
"name": "ボントレガー Tyro キッズ バイク ヘルメット バイザー",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "14164",
"name": "Bontrager Solstice Bike Helmet Visor",
"price": "1745.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 10
}
,
{
"id": "25641",
"name": "Bontrager Quantum Bike Helmet Visor",
"price": "1745.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "14156",
"name": "Bontrager Specter Bike Helmet Visor",
"price": "1744.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "14157",
"name": "ボントレガー Quantum Mips バイク ヘルメット バイザー",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "14223",
"name": "Bontrager Ballista Bike Helmet Vent Cover",
"price": "698.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}