Actions

Google APIの使い方

From LimeSurvey Manual

Revision as of 00:39, 5 June 2018 by Bravehorse (talk | contribs) (Created page with "アンケートにGoogleアナリティクスのAPIを追加するには、次の手順に従います。 # Google Analytics(GA)に登録しログインする: [http://www...")

アンケートにGoogleアナリティクスのAPIを追加するには、次の手順に従います。

  1. Google Analytics(GA)に登録しログインする: www.google.com/analytics/
  2. トラッキングIDを生成する(サイトにはアンケートを指定するのではなく、'index.php?'より前の部分を指定します)。 トラッキングIDは、UA-xxxxxのようになります。
  3. LimeSurveyで、アンケートのグローバル設定にアクセスします。
  4. Put the tracking ID into the appropriate field (Google Analytics tracking ID). It's probably the 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.