概要
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "1979890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "1682890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "1682890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 3
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "1902890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 4
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "1495890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 5
}
,
{
"id": "35671",
"name": "Speed Concept SLRフレームセット",
"price": "715000.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "More Options",
"position": 6
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "1529890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "More Options",
"position": 7
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "1462890.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}