概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "45036",
"name": "トレック Voda 26オンス ウォーターボトル",
"price": "1680.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "More Options",
"position": 1
}
,
{
"id": "45034",
"name": "トレック Voda Ice 28オンス ウォーターボトル",
"price": "2960.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 2
}
,
{
"id": "37366",
"name": "トレック Voda Ice 20オンス ウォーターボトル",
"price": "2880.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 3
}
,
{
"id": "45035",
"name": "Trek Voda Flow 26ozウォーターボトル",
"price": "2640.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "37370",
"name": "Trek Voda Flow 21ozウォーターボトル",
"price": "2480.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "37375",
"name": "Trek Voda 21ozウォーターボトル",
"price": "1600.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "More Options",
"position": 6
}
,
{
"id": "37382",
"name": "Trek Voda 15ozウォーターボトル",
"price": "1520.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_orange",
"list": "More Options",
"position": 7
}
,
{
"id": "46175",
"name": "Trek RSL Aeroウォーターボトル&ケージ",
"price": "11800.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "46167",
"name": "Trek RSL Aeroウォーターボトル",
"price": "3000.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluedark_red",
"list": "More Options",
"position": 9
}
,
{
"id": "46120",
"name": "Lidl-Trekチーム550mlウォーターボトル",
"price": "1700.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluelight_yellowlight",
"list": "More Options",
"position": 10
}
,
{
"id": "33325",
"name": "トレック Voda Flag ウォーターボトル",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_blue",
"list": "More Options",
"position": 11
}
,
{
"id": "33339",
"name": "トレック Voda トレック Stripe ウォーターボトル",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_red",
"list": "More Options",
"position": 12
}
,
{
"id": "33333",
"name": "トレック Voda トレック 76 ウォーターボトル",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_red",
"list": "More Options",
"position": 13
}
,
{
"id": "28492",
"name": "トレック Voda KOM ウォーターボトル",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "white_red",
"list": "More Options",
"position": 14
}
,
{
"id": "41559",
"name": "トレック Speed Concept SLR BTA 26オンス ウォーターボトル キット",
"price": "28400.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "38005",
"name": "トレック 2022 Speed Concept SLR ダウンチューブ 26オンス ウォーターボトル",
"price": "4700.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}