1
0
Fork 0
mirror of https://github.com/Findus23/plugin-ExcludeCountries.git synced 2024-09-19 15:53:47 +02:00

add description

This commit is contained in:
Lukas Winkler 2020-09-01 18:15:48 +02:00
parent 9001a7c83f
commit c73de1da3d
Signed by: lukas
GPG key ID: 54DE4D798D244853
7 changed files with 39 additions and 34 deletions

View file

@ -1,3 +1,5 @@
## Changelog ## Changelog
Here goes the changelog text. ### 0.1.0
Initial release

View file

@ -2,5 +2,11 @@
## Description ## Description
Add your plugin description here. This plugin allows you to only track visitors from specific countries (or all but specific countries) and discards data from everyone else, reducing the amound of data stored in the database.
You can verify that the plugin works by temporarily enabling [tracking debugging](https://developer.matomo.org/api-reference/tracking-api#debugging-the-tracker) and checking the log.
### Important Limitations:
- This plugin needs to check the geolocation while recieving the data. This means that every visit is geolocated twice which might cause (a small amount of) additional server load
- This plugin depends on your geolocation to be properly set up in Matomo. If the geolocation returns incorrect result, this plugin discards incorrect visitors.

View file

@ -11,14 +11,7 @@ namespace Piwik\Plugins\ExcludeCountries;
use Piwik\Settings\FieldConfig; use Piwik\Settings\FieldConfig;
use Piwik\Settings\Setting; use Piwik\Settings\Setting;
/**
* Defines Settings for ExcludeCountries.
*
* Usage like this:
* $settings = new SystemSettings();
* $settings->metric->getValue();
* $settings->description->getValue();
*/
class SystemSettings extends \Piwik\Settings\Plugin\SystemSettings class SystemSettings extends \Piwik\Settings\Plugin\SystemSettings
{ {
/** @var Setting */ /** @var Setting */

View file

@ -1,5 +0,0 @@
## FAQ
__My question?__
My answer

View file

@ -1 +0,0 @@
## Documentation

View file

@ -1,29 +1,39 @@
{ {
"name": "ExcludeCountries",
"description": "Exclude or include visitors from selected countries",
"version": "0.1.0",
"theme": false,
"require": {
"name": "ExcludeCountries", "name": "ExcludeCountries",
"description": "TODO", "description": "TODO",
"version": "0.1.0", "version": "0.1.0",
"theme": false, "theme": false,
"require": { "require": {
"piwik": ">=3.10.0,<4.0.0-b1" "piwik": ">=3.10.0,<4.0.0-b1"
},
"authors": [
{
"name": "Matomo",
"email": "",
"homepage": ""
}
],
"support": {
"email": "",
"issues": "",
"forum": "",
"irc": "",
"wiki": "",
"source": "",
"docs": "",
"rss": ""
}, },
"homepage": "", "homepage": "",
"license": "GPL v3+", "license": "GPL v3+",
"keywords": [] "keywords": []
},
"authors": [
{
"name": "Lukas Winkler",
"email": "lukas@matomo.org",
"homepage": "https://lw1.at"
}
],
"support": {
"email": "lukas@matomo.org",
"issues": "https://github.com/Findus23/plugin-ExcludeCountries/issues",
"forum": "https://forum.matomo.org",
"source": "https://github.com/Findus23/plugin-ExcludeCountries"
},
"homepage": "https://lw1.at",
"license": "GPL v3+",
"keywords": [
"geolocation",
"tracking",
"countries",
"filter"
]
} }

BIN
screenshots/settings.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB