plugin:ganalytics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin:ganalytics [2010-03-06 06:59] – 219.144.133.11 | plugin:ganalytics [2019-08-16 16:37] – !discontinued tag Aleksandr | ||
---|---|---|---|
Line 11: | Line 11: | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : media, images, diagram, chart, google, statistics, embed | + | tags : |
---- | ---- | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
+ | |||
+ | Google Analytics requires additional configuration for best use with DokuWiki (e.g., site search and goals). See [[http:// | ||
^ Download | [[http:// | ^ Download | [[http:// | ||
Line 21: | Line 23: | ||
FIXME (download link is broken) | FIXME (download link is broken) | ||
+ | Blog entry: http:// | ||
==== Changes ==== | ==== Changes ==== | ||
* 2009-05-04: Original version | * 2009-05-04: Original version | ||
Line 32: | Line 35: | ||
^ Parameter ^ Default ^ Required ^ Allowed Options ^ Description ^ | ^ Parameter ^ Default ^ Required ^ Allowed Options ^ Description ^ | ||
- | |data:< | + | |data:< |
|linecolor:< | |linecolor:< | ||
|bgcolor:< | |bgcolor:< | ||
Line 107: | Line 110: | ||
</ | </ | ||
- | It also uses classes for connecting with the google | + | It also uses classes for connecting with the Google |
>> | >> | ||
>Just a question about howto get the param " | >Just a question about howto get the param " | ||
- | >> It is simply the ga: | + | >> It is simply the ga: |
https:// | https:// | ||
" | " | ||
- | THank you for this plugin , i have a suggestion : could it be possible to display a list of the most visited pages ? | + | Thank you for this plugin, have a suggestion: could it be possible to display a list of the most visited pages? |
- | for instance : | + | for instance: |
$data = $api-> | $data = $api-> | ||
Line 125: | Line 128: | ||
where " | where " | ||
- | >I have two sites, and I want to monitor them at the same time. So is it possible | + | ====Monitor two sites==== |
+ | >I have two sites, and I want to monitor them at the same time. So it will be more useful | ||
+ | |||
+ | First, add the id parameter. That is, change: | ||
+ | <code php> | ||
+ | switch($parameter){ | ||
+ | case ' | ||
+ | $img[' | ||
+ | </ | ||
+ | to | ||
+ | <code php> | ||
+ | switch($parameter){ | ||
+ | case ' | ||
+ | | ||
+ | break; | ||
+ | case ' | ||
+ | $img[' | ||
+ | </ | ||
+ | Then, replace | ||
+ | <code php> | ||
+ | $oAnalytics-> | ||
+ | </ | ||
+ | with | ||
+ | <code php> | ||
+ | if(array_key_exists(' | ||
+ | $oAnalytics-> | ||
+ | } | ||
+ | else{ | ||
+ | $oAnalytics-> | ||
+ | } | ||
+ | </ |
plugin/ganalytics.txt · Last modified: 2019-08-16 16:39 by Aleksandr