plugin:ganalytics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:ganalytics [2010-03-05 07:59] – 219.145.91.163 | plugin:ganalytics [2019-08-16 16:39] (current) – 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 72: | Line 75: | ||
Here are a few user provided examples of the Google analytics plugin in use: | Here are a few user provided examples of the Google analytics plugin in use: | ||
* http:// | * http:// | ||
- | |||
===== Discussion===== | ===== Discussion===== | ||
Ask your questions here. | Ask your questions here. | ||
Line 108: | 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-> | ||
where " | where " | ||
+ | |||
+ | ====Monitor two sites==== | ||
+ | >I have two sites, and I want to monitor them at the same time. So it will be more useful to make " | ||
+ | |||
+ | 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.1267772357.txt.gz · Last modified: 2010-03-05 07:59 by 219.145.91.163