概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "24768",
"name": "ボントレガー Aeolus Comp Disc デカールセット",
"price": "8500.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "grey_white",
"list": "More Options",
"position": 1
}
,
{
"id": "45150",
"name": "Bontrager Line Elite 30 27.5" Rim Decal Sets",
"price": "7600.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33596",
"name": "Bontrager Aeolus Elite 50mm Rim Decal Sets",
"price": "7600.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "39362",
"name": "Bontrager Aeolus Elite 35mm Rim Decal Set",
"price": "7600.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "23465",
"name": "Bontrager Aeolus Comp Rim Decal Sets",
"price": "7500.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "grey_white",
"list": "More Options",
"position": 5
}
,
{
"id": "23466",
"name": "Bontrager Aeolus XXX Rim Decal Sets",
"price": "6578.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "23460",
"name": "Bontrager Aeolus 3 D3 Rim Decal Sets",
"price": "5269.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "23461",
"name": "Bontrager Aeolus 5 D3 Rim Decal Sets",
"price": "5269.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "09909",
"name": "ボントレガー Aeolus XXX 2 デカール",
"price": "4200.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white_red",
"list": "More Options",
"position": 9
}
,
{
"id": "30999",
"name": "ボントレガー Aeolus XXX 6 デカール",
"price": "2948.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "green",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}