plugin:googleanalytics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:googleanalytics [2009-10-08 23:20] – tag cleanup laynee | plugin:googleanalytics [2020-11-03 10:40] (current) – Added some basic setup text from the plugin to this page tjgrant@tatewake.com | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : tjgrant@tatewake.com | email : tjgrant@tatewake.com | ||
type : action | type : action | ||
- | lastupdate : 2009-05-25 | + | lastupdate : 2020-11-03 |
- | compatible : (current version) | + | compatible : 2020-07-29 " |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : google, statistics, embed | tags : google, statistics, embed | ||
+ | |||
+ | downloadurl: | ||
+ | sourcerepo : https:// | ||
+ | bugtracker : https:// | ||
+ | donationurl: | ||
---- | ---- | ||
- | [[http://tatewake.com/wiki/projects:google_analytics_for_dokuwiki|Details | + | This plugin allows you to track visits to your wiki in [[https:// |
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | Search and install the plugin using the [[plugin: | ||
+ | |||
+ | ===== Setup ===== | ||
+ | |||
+ | This plugin generates JavaScript code that is automatically included into your site via the '' | ||
+ | |||
+ | Set the options for this plugin via the **Configuration Settings** menu from the DokuWiki admin menu. (It will be near the bottom of the page.) | ||
+ | |||
+ | You may use one of two tracking options: | ||
+ | |||
+ | * **Basic** " | ||
+ | * **Newer** " | ||
+ | |||
+ | If you set a " | ||
+ | |||
+ | ==== Tag Setup ==== | ||
+ | |||
+ | To properly use this plugin you will need to set up and configure a Google Analytics property. | ||
+ | |||
+ | ==== Google Analytics ID Method ==== | ||
+ | |||
+ | Sign into [[https:// | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | Now follow the steps below. There are also [[http://imgur.com/a/ | ||
+ | |||
+ | At the end of the setup process you should get a **Tracking Code**. You can also find it under //Admin// -> // | ||
+ | |||
+ | Next, setup the **custom dimensions**. Go to //Admin// -> // | ||
+ | |||
+ | - Name: '' | ||
+ | * Scope: Hit | ||
+ | * Index: 1 | ||
+ | * Active: yes | ||
+ | - Name: '' | ||
+ | * Scope: Hit | ||
+ | * Index: 2 | ||
+ | * Active: yes | ||
+ | |||
+ | Be sure the indexes are correct! | ||
+ | |||
+ | Next, if you want to track logged in users across different devices, you have to enable the **User ID tracking** feature and create a new view. To do so go to //Admin// -> // | ||
+ | |||
+ | Finally go to //Admin// -> //View// and select the view you want to use((If you set up User ID tracking above, you probably want to repeat this step for both views. Otherwise there' | ||
+ | |||
+ | ==== Global Site ID Method ==== | ||
+ | |||
+ | TODO: Write me | ||
+ | |||
+ | ==== DokuWiki Setup ==== | ||
+ | |||
+ | Once you have finished your Setup at Google Analytics, you can configure DokuWiki. Install the plugin via the extension manager, then go the configuration | ||
+ | |||
+ | You have to fill in at least your Tracking Code! | ||
+ | |||
+ | If you enabled User ID tracking in the Google Analytics above, you can enable it here as well. | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | Once configured, your Google Analytics should begin to show data after a day or two. Please refer to [[https:// | ||
+ | |||
+ | ===== Developer Info ===== | ||
+ | |||
+ | Once configured, the plugin makes Google' | ||
+ | |||
+ | < | ||
+ | if(window.ga) window.ga(' | ||
+ | </ | ||
+ | |||
+ | Please refer to Googles documentation on details. | ||
- | ===== Discussion ===== | ||
- | Please use the [[http:// |
plugin/googleanalytics.1255036811.txt.gz · Last modified: 2009-10-08 23:20 by laynee