概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "27029",
"name": "Trek Kids' Quick Release Center Lock Disc 24" Wheel",
"price": "14800.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "10727",
"name": "Trek Kids' 28 Hole 24" 6-Bolt Disc Wheel",
"price": "12100.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "10726",
"name": "Trek Roscoe Boost 20" MTB Wheel",
"price": "11500.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "35660",
"name": "Trek Kids' 28 Hole 24" Wheel",
"price": "9700.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black_greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "31763",
"name": "Trek Precaliber 20 Wheel",
"price": "9700.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "31437",
"name": "Trek KT-305R 20" Kids Wheel",
"price": "9500.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "31435",
"name": "Trek JYS01C 20" Kids Wheel",
"price": "9400.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "27028",
"name": "Trek Kids' 32 Hole 24" Wheel",
"price": "9300.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27027",
"name": "Trek Kids' Quick Release 20" Wheel",
"price": "8800.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "31211",
"name": "Trek Precaliber 16 Coaster Brake Wheel",
"price": "8000.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "31433",
"name": "Trek Mystic 16" Kids Wheel",
"price": "7800.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "31210",
"name": "Trek Precaliber 12 Wheel",
"price": "7400.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "31432",
"name": "Trek Jet 16" Kids Wheel",
"price": "7300.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "27146",
"name": "Trek Kickster 12" Spoked Wheel",
"price": "2679.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "26746",
"name": "トレック 26" キッズ ホイール",
"price": "10500.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "10652",
"name": "トレック 16" キッズトレーニング ホイール",
"price": "8800.0",
"brand": "Bontrager",
"category": "Bike training wheels",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "27026",
"name": "トレック 12" ボルトオン キッズ ホイール",
"price": "4000.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}