Actions

Google API howto/ja: Difference between revisions

From LimeSurvey Manual

No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages />  
<languages />  
アンケートにGoogleアナリティクスのAPIを追加するには、次の手順に従います。
In order to add the API from Google Analytics to your survey, please follow these steps:
# Google Analytics(GA)に登録しログインする: [http://www.google.com/analytics/ www.google.com/analytics/]
# Register/log in to Google Analytics (GA): [http://www.google.com/analytics/ www.google.com/analytics/].
# トラッキングIDを生成する(サイトにはアンケートを指定するのではなく、'index.php?'より前の部分を指定します)。 トラッキングIDは、UA-xxxxxのようになります。
# Create a tracking ID (the site should not point to the survey, but to the part before 'index.php?') The tracking ID should be UA-xxxxx.
# LimeSurveyで、アンケートの[https://manual.limesurvey.org/Global_settings/ja グローバル設定]にアクセスします。
# Go to your survey's [https://manual.limesurvey.org/Global_settings global settings] in LimeSurvey.
# トラッキングIDを適切な欄(GoogleアナリティクストラッキングID)に設定します。より詳しい情報を得るため、GAで全ページを追跡するよう設定するのがよいでしょう。
# Put the tracking ID into the appropriate field (Google Analytics tracking ID). It's probably best to set GA to track all pages as you can have more info.
# {GOOGLE_ANALYTICS_JAVASCRIPT}はすでにテンプレートに含まれているので、テンプレートに手を加える必要はありません。
# You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there.
# アンケートを開始します。
# Activate the survey.
# アンケートを実施します。
# Do the survey.
# GAパネルのメインサイトにアクセスします。複数ある場合は左上で該当のアカウントを選択します。グラフや統計が利用できます。右上の日付に注意してください。
# Go to the GA panel main site. Select the appropriate account from the upper-left corner if you have more than one. You should see some graphs and different statistics. Beware of the dates in the upper right corner.

Revision as of 21:40, 8 June 2018

In order to add the API from Google Analytics to your survey, please follow these steps:

  1. Register/log in to Google Analytics (GA): www.google.com/analytics/.
  2. Create a tracking ID (the site should not point to the survey, but to the part before 'index.php?') The tracking ID should be UA-xxxxx.
  3. Go to your survey's global settings in LimeSurvey.
  4. Put the tracking ID into the appropriate field (Google Analytics tracking ID). It's probably best to set GA to track all pages as you can have more info.
  5. You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there.
  6. Activate the survey.
  7. Do the survey.
  8. Go to the GA panel main site. Select the appropriate account from the upper-left corner if you have more than one. You should see some graphs and different statistics. Beware of the dates in the upper right corner.