Google API howto: Difference between revisions
From LimeSurvey Manual
(Marked this version for translation) |
No edit summary |
||
Line 2: | Line 2: | ||
<!--T:1--> | <!--T:1--> | ||
In order to add the API from Google Analytics to your survey, please follow | In order to add the API from Google Analytics to your survey, please follow these steps: | ||
# Register/ | # Register/log in to Google Analytics (GA): [http://www.google.com/analytics/ www.google.com/analytics/]. | ||
# 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. | # 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. | ||
# Go to your survey's [https://manual.limesurvey.org/Global_settings global settings] in LimeSurvey. | # Go to your survey's [https://manual.limesurvey.org/Global_settings global settings] in LimeSurvey. | ||
# Put the tracking ID into the appropriate field (Google Analytics tracking ID). It's probably | # 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. | ||
# You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there. | # You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there. | ||
# Activate the survey. | # Activate the survey. |
Latest revision as of 17:01, 8 June 2018
In order to add the API from Google Analytics to your survey, please follow these steps:
- Register/log in to Google Analytics (GA): www.google.com/analytics/.
- 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.
- Go to your survey's global settings in LimeSurvey.
- 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.
- 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.
- 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.