diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-06-02 04:09:15 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-06-17 08:09:13 +0300 |
commit | 18501381cec766aa729fdc7bdcd282c90a7be45f (patch) | |
tree | cf7cfe213d72cbd57ec86e570a5e2a7c4dc55815 /plugins/WebsiteMeasurable | |
parent | 1f707dd3c9422494b7cf844591079c11c651158c (diff) |
refs #7893 added possibility to measure mobile apps
Diffstat (limited to 'plugins/WebsiteMeasurable')
-rw-r--r-- | plugins/WebsiteMeasurable/Type.php | 19 | ||||
-rw-r--r-- | plugins/WebsiteMeasurable/WebsiteMeasurable.php | 13 | ||||
-rw-r--r-- | plugins/WebsiteMeasurable/lang/en.json | 7 | ||||
-rw-r--r-- | plugins/WebsiteMeasurable/plugin.json | 4 |
4 files changed, 43 insertions, 0 deletions
diff --git a/plugins/WebsiteMeasurable/Type.php b/plugins/WebsiteMeasurable/Type.php new file mode 100644 index 0000000000..714b9dd580 --- /dev/null +++ b/plugins/WebsiteMeasurable/Type.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\WebsiteMeasurable; + +class Type extends \Piwik\Measurable\Type +{ + const ID = 'website'; + protected $name = 'Referrers_ColumnWebsite'; // we will use new key of WebsiteType_ once we have them + protected $namePlural = 'SitesManager_Sites'; // translated into more languages + protected $description = 'WebsiteMeasurable_WebsiteDescription'; + protected $howToSetupUrl = '?module=CoreAdminHome&action=trackingCodeGenerator'; +} + diff --git a/plugins/WebsiteMeasurable/WebsiteMeasurable.php b/plugins/WebsiteMeasurable/WebsiteMeasurable.php new file mode 100644 index 0000000000..3199a41830 --- /dev/null +++ b/plugins/WebsiteMeasurable/WebsiteMeasurable.php @@ -0,0 +1,13 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\WebsiteMeasurable; + +class WebsiteMeasurable extends \Piwik\Plugin +{ +} diff --git a/plugins/WebsiteMeasurable/lang/en.json b/plugins/WebsiteMeasurable/lang/en.json new file mode 100644 index 0000000000..05414e3b1d --- /dev/null +++ b/plugins/WebsiteMeasurable/lang/en.json @@ -0,0 +1,7 @@ +{ + "WebsiteMeasurable": { + "Website": "Website", + "Websites": "Websites", + "WebsiteDescription": "A website consists of web pages typically served from a single web domain." + } +}
\ No newline at end of file diff --git a/plugins/WebsiteMeasurable/plugin.json b/plugins/WebsiteMeasurable/plugin.json new file mode 100644 index 0000000000..aa193af98c --- /dev/null +++ b/plugins/WebsiteMeasurable/plugin.json @@ -0,0 +1,4 @@ +{ + "name": "WebsiteMeasurable", + "description": "Analytics for the web: lets you measure and analyze Websites." +}
\ No newline at end of file |