github に自分のユーザー サイトをセットアップし、Skinny Bones テーマで Jekyll を使用しました。サイトに Google アナリティクスを追加するのに問題があります。
html に埋め込むトラッキング ID とスクリプトを Google アナリティクスから取得し、home.html の 内に貼り付けました。
skinny-bones-jekyll-master
├── _site # compiled site ready to deploy
├── _layouts
| ├── archive.html # archive listing of a group of posts or collection
| ├── article.html # articles, blog posts, text heavy material layout
| ├── default.html # base
| ├── home.html # home page
| └── media.html # portfolio, work, media layout
.
.
.
└── index.md # homepage content
index.md がレイアウトとして home.html を使用している場所。これまでのところ、アナリティクスでサイトのトラフィックを検出できず、アナリティクス設定のデフォルト ページを home.html に設定しようとしました。運がない。何か案は?
どうもありがとう!