![](https://ayarhythm.com/wp-content/uploads/2020/09/新通常顔.jpg)
Googleアナリティクスの設定方法を説明します!
Googleアナリティクスは、
アクセス分析やブログ改善をするために欠かせないツールです。
ブログを立ち上げたら、
Googleサーチコンソールとともに
初めに設定を済ませてしまいましょう!
この記事では、
- Googleアナリティクスの登録方法
- ワードプレスにGoogleアナリティクスを設置する方法
- Googleサーチコンソールとの連携設定
- Googleアナリティクスの初期設定
この4つを解説します。
設定する上でやることが多いのですが、
一つずつ終わらせれば簡単に設定できます。
早速はじめましょう!
Googleアナリティクスに登録する方法
アナリティクスアカウントにログインする
まずはじめにGoogleアナリティクスにアクセスします。
「無料で利用する」をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.24.41-1-1024x623.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.24.41-1-1024x623.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.28.19-1024x567.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.28.19-1024x567.jpg)
アカウント設定をする
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.29.26-1024x594.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.29.26-1024x594.jpg)
アカウント名(ブログ名)を入力して
ページ下部の「次へ」をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2020/11/スクリーンショット-2020-11-25-19.19.41-1024x627.png)
![](https://ayarhythm.com/wp-content/uploads/2020/11/スクリーンショット-2020-11-25-19.19.41-1024x627.png)
- プロパティ名:なんでもOK!ブログ名と合わせておきましょう。
- レポートのタイムゾーン:「日本」を選択
- 通過:「日本円」を選択
- 詳細オプションを表示をクリックする
![](https://ayarhythm.com/wp-content/uploads/2021/01/スクリーンショット-2020-11-25-19.23.31-1024x593-1.png)
![](https://ayarhythm.com/wp-content/uploads/2021/01/スクリーンショット-2020-11-25-19.23.31-1024x593-1.png)
- 「ユニバーサル アナリティクス プロパティの作成」をクリックして有効化します。
(有効化すると青色になります。)
![](https://ayarhythm.com/wp-content/uploads/2021/01/スクリーンショット-2020-11-25-19.25.32-1-1024x608.jpg)
![](https://ayarhythm.com/wp-content/uploads/2021/01/スクリーンショット-2020-11-25-19.25.32-1-1024x608.jpg)
- ウェブサイトのURL:「https://」を選択し、ブログのURLを入力する
- 次へをクリックする
![](https://ayarhythm.com/wp-content/uploads/2020/11/スクリーンショット-2020-11-25-19.45.53-1024x637.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/11/スクリーンショット-2020-11-25-19.45.53-1024x637.jpg)
- 業種:近いジャンルを選ぶ
- ビジネスの規模:「小規模」を選択
- 利用目的:「サイトまたはアプリでの顧客エンゲージメントを測定する」を選択
- 「作成」をクリックする
アナリティクスの利用規約に同意する
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.35.03-603x1024.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.35.03-603x1024.png)
- 日本を選ぶ
- チェックを入れる
- チェックを入れる
- 「同意する」をクリックする
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.35.38.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.35.38.png)
「興味はない」をクリックでOK!
Googleアナリティクスに登録できたら、
次はワードプレスにアナリティクスの設置をしましょう。
ワードプレスにアナリティクスを設置する
アナリティクスのIDをコピーする
左下の「管理」をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.28.37.png)
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.28.37.png)
「プロパティを作成」のすぐ下の欄にある▼をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.30.45-1024x398.png)
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.30.45-1024x398.png)
すると、プロパティが2つ作成されているので(UAとGA4)、「UA-XXX…」を選択します。
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.31.38.png)
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.31.38.png)
「プロパティ設定」を選択します。
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.33.43.png)
![](https://ayarhythm.com/wp-content/uploads/2021/02/スクリーンショット-2021-02-05-20.33.43.png)
「トラッキングID」をコピーします。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-22.26.12-1024x224.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-22.26.12-1024x224.png)
ワードプレスに設置する
![](https://ayarhythm.com/wp-content/uploads/2021/05/スクリーンショット-2021-05-29-22.12.38.png)
![](https://ayarhythm.com/wp-content/uploads/2021/05/スクリーンショット-2021-05-29-22.12.38.png)
「ダッシュボード」>「All in One SEO」>「一般設定」をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2021/05/screencapture-ayarhythm-wp-admin-admin-php-2021-05-29-22_13_23-1024x911.jpg)
![](https://ayarhythm.com/wp-content/uploads/2021/05/screencapture-ayarhythm-wp-admin-admin-php-2021-05-29-22_13_23-1024x911.jpg)
- ウェブマスターツールをクリック
- Googleアナリティクスをクリック
- GoogleアナリティクスIDに、先ほどコピーしたID(UA-〇〇)を貼り付ける
アナリティクスが正常に動いていることを確認する
アナリティクスの「ホーム」をクリックし、
アナリティクスが正常に動いていることを確認します。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.40.02-1-1024x502.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.40.02-1-1024x502.png)
ご自身のブログを開くと、
アナリティクスの右側にある「リアルタイム」に
1や2などご自分がアクセスしている状況が表示されます。
Googleサーチコンソールとの連携設定
Googleサーチコンソールの登録をする
まずはこちらのサーチコンソールの登録をしましょう。
こちらの記事で登録方法を解説しています。
登録を終えたら、この記事に戻ってきましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/35-400x225.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/35-400x225.png)
管理画面からプロパティ設定をクリック
「管理画面」>「プロパティ設定」をクリックしましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.37.06-1024x678.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.37.06-1024x678.png)
Search Consoleを調整をクリック
「プロパティ設定」の画面内で
「Search Consoleを調整」をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.38.14-1024x675.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.38.14-1024x675.png)
Search Consoleのサイトを追加
「Search Consoleの設定」の画面に移行したら、
「追加」をクリックしましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.39.44-1024x400.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.39.44-1024x400.png)
連携可能なサイトが表示されます。
該当のドメインにチェックをいれ、
「保存」をクリックしましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.46.45-1024x598.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-21.46.45-1024x598.jpg)
「保存」をクリックすると
サーチコンソールの画面に移動しますが
閉じてしまって問題ありません。
アナリティクスの初期設定をする
自分のIPを除外設定する
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.40.42.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.40.42.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.41.03-1024x744.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.41.03-1024x744.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.41.21-1024x384.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.41.21-1024x384.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.42.27-1024x626.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-20.42.27-1024x626.png)
- フィルタ名を入力する
- フィルタの種類で「定義済み」を選択し、
「除外」「IPアドレスからのトラフィック」「等しい」を選択 - IPアドレスを入力
- 「すべてのウェブサイトのデータ」を選択
- 「追加」をクリック
ご自分のIPアドレスを調べるには、
こちらのサイトから調べられます。
これでご自分のIP除外設定は完了です。
正しく設定ができている場合、
ご自分のブログを開いた状態でも
アナリティクスのリアルタイムの表示が0になります。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.08.28-1024x557.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.08.28-1024x557.png)
URLの設定
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.10.14-1024x868.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.10.14-1024x868.png)
「管理」>「プロパティ設定」をクリックします。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.10.14-1-1024x868.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.10.14-1-1024x868.png)
デフォルトのURLの
「〇〇〇〇/」
の末尾につくスラッシュを削除しましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.10.43-1024x423.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.10.43-1024x423.png)
レポートの有効化
「管理」>「プロパティ設定」にある、
「ユーザー属性レポートと、インタレスト カテゴリ レポートの有効化」をオンにしましょう。
このレポートをオンにすると、
アクセスしたユーザーの年齢や性別まで解析できるようになります。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.13.01-1024x642.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-21-23.13.01-1024x642.png)
ボットのフィルタリング設定
サイトのセキュリティを向上させるため、
アナリティクスで認知している不要なスパムボットなどの
アクセスを除外する設定します。
「管理」>「ビュー設定」をクリックしましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-22.06.22-1024x606.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-22.06.22-1024x606.png)
「ボットのフィルタリング」にチェックを入れましょう。
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-22.07.34-1024x550.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/スクリーンショット-2020-09-22-22.07.34-1024x550.png)
![](https://ayarhythm.com/wp-content/uploads/2020/09/egao.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/egao.jpg)
![](https://ayarhythm.com/wp-content/uploads/2020/09/egao.jpg)
以上でアナリティクスの設定は完了です!
これでブログ運営をする準備はバッチリですね。