قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 15:07:44 +00:00

* Update global settings to support excluding common PII params * Clean up TS * Add UI screenshots (with some commented) * Remove empty test * Fix broken UI test * Fix broken UI test * Fix broken integration test * Build vue files * Update UI to hide the list of common exclusions * Build vue files * Update UI screenshot * Update UI screenshot * Update API interface to keep data integrity * Switch to using whitelist validator * Update exceptions to be translated, add missing integration test * Restore commented out UI tests * Remove redundant switch statement * Add return type * Move common PII exclusions to config * Translate button text * Add common PII to config * Deprecate setGlobalExcludedQueryParameters * Fix CS issues * Build vue files * Fix deprecated test and update changelog * Use test config data for test, remove static copy of common PII * Add missing translation key * Update UI screenshots * Fix tests * Update plugins/SitesManager/API.php Co-authored-by: Marc Neudert <marc@innocraft.com> * Update plugins/SitesManager/API.php Co-authored-by: Marc Neudert <marc@innocraft.com> * Update plugins/SitesManager/API.php Co-authored-by: Marc Neudert <marc@innocraft.com> * Update plugins/SitesManager/vue/src/ManageGlobalSettings/ManageGlobalSettings.vue Co-authored-by: Marc Neudert <marc@innocraft.com> * Reorder and remove duplicates for CommonPII params * Clear query parameters when custom_exclusions selected * Add missing prop type include * Make old API method more compatible with new methods * Fix syntax error * Fix UI screenshot * Build vue files * Fix UI screenshot * Update plugins/SitesManager/API.php Co-authored-by: Marc Neudert <marc@innocraft.com> * Make sure URL params are cleaned before validation, and add tests * Remove redundant check * Update naming for the exclusion types * Build vue files * Update wording once more * Update ui screenshots * Update ui screenshots * Update ui screenshots * Update ui screenshots * Update expected integration test * Update language again * Update integration test expected result * Temp split test to get all screenshots * Fix broken tests * Remove temp tests * Split UI tests to "one screenshot per test" for ease of updating * Remove duplicated translation --------- Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com> Co-authored-by: Marc Neudert <marc@innocraft.com>
303 خطوط
11 KiB
XML
303 خطوط
11 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<result>
|
|
<row>
|
|
<pluginName>WebsiteMeasurable</pluginName>
|
|
<title>WebsiteMeasurable</title>
|
|
<settings>
|
|
<row>
|
|
<name>urls</name>
|
|
<title>URLs</title>
|
|
<value>
|
|
<row>http://piwik.net</row>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>textarea</uiControl>
|
|
<uiControlAttributes>
|
|
<cols>25</cols>
|
|
<rows>3</rows>
|
|
<placeholder>http://example.com/
|
|
https://www.example.org/</placeholder>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>It is recommended, but not required, to specify the various URLs, one per line, that your visitors use to access this website. Alias URLs for a website will not appear in the Referrers → Websites report. Note that it is not necessary to specify the URLs with and without 'www' as Matomo automatically considers both.</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>exclude_unknown_urls</name>
|
|
<title>Only track visits and actions when the action URL starts with one of the above URLs.</title>
|
|
<value>0</value>
|
|
<defaultValue>0</defaultValue>
|
|
<type>boolean</type>
|
|
<uiControl>checkbox</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>When enabled, Matomo will only track internal actions when the Page URL is one of the known URLs for your website. This prevents people from spamming your analytics with URLs for other websites.<br />The domain and the path have to be an exact match and each valid subdomain has to be specified separately. For example when the known URLs are 'http://example.com/path' and 'http://good.example.com', tracking requests for 'http://example.com/otherpath' or 'http://bad.example.com' are ignored.</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>keep_url_fragment</name>
|
|
<title>Keep Page URL fragments when tracking Page URLs</title>
|
|
<value>0</value>
|
|
<defaultValue>0</defaultValue>
|
|
<type>string</type>
|
|
<uiControl>select</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues>
|
|
<row>No (Default)</row>
|
|
<row>Yes</row>
|
|
<row>No</row>
|
|
</availableValues>
|
|
<description />
|
|
<inlineHelp />
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>excluded_ips</name>
|
|
<title>Excluded IPs</title>
|
|
<value>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>textarea</uiControl>
|
|
<uiControlAttributes>
|
|
<cols>20</cols>
|
|
<rows>4</rows>
|
|
<placeholder>127.0.0.1</placeholder>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>Enter the list of IPs, one per line, that you wish to exclude from being tracked by Matomo. You can use CIDR notation eg. 1.2.3.4/24 or you can use wildcards, eg. 1.2.3.* or 1.2.*.*<br /><br />Your current IP address is <i>127.0.0.1</i></inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>excluded_parameters</name>
|
|
<title>Excluded Parameters</title>
|
|
<value>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>textarea</uiControl>
|
|
<uiControlAttributes>
|
|
<cols>20</cols>
|
|
<rows>4</rows>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>Enter each URL parameter on a separate line to exclude from tracking and reports. Regular expressions such as /^sess.*|.*[dD]ate$/ are supported.<br /><br />Matomo will automatically exclude the common session parameters (phpsessid, sessionid, ...).</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>excluded_user_agents</name>
|
|
<title>Excluded User Agents</title>
|
|
<value>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>textarea</uiControl>
|
|
<uiControlAttributes>
|
|
<cols>20</cols>
|
|
<rows>4</rows>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>Enter the list of user agents to exclude from being tracked by Matomo.<br /><br />If the visitor's user agent string contains any of the strings you specify, the visitor will be excluded from Matomo.<br />You can use this to exclude some bots from being tracked. Regular expressions such as /bot|spider|crawl|scanner/i are supported.</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>excluded_referrers</name>
|
|
<title>Excluded referrers</title>
|
|
<value>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>textarea</uiControl>
|
|
<uiControlAttributes>
|
|
<cols>20</cols>
|
|
<rows>4</rows>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>Enter the list of hostnames and URLs, one per line, you want to exclude from referrer detection.<br /><br />Each entry needs to contain the hostname and may contain a path. If a path is provided a referrer will only be excluded if the path matches as well. URLs with and without 'www' are treated the same. Provided protocols will be ignored.<br />e.g. "www.example.org" would match "http://example.org/mypath" and "https://www.example.org/?param=1" but not "https://sub.example.org/"<br /><br />To also exclude all subdomains of a certain hostname, prefix it with a dot. e.g. ".sub.example.org" would exclude "http://sub.example.org/mypath", but also all its subdomains like "https://new.sub.example.org/".</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>sitesearch</name>
|
|
<title>Site Search</title>
|
|
<value>1</value>
|
|
<defaultValue>1</defaultValue>
|
|
<type>integer</type>
|
|
<uiControl>select</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues>
|
|
<row key="1">Site Search tracking enabled</row>
|
|
<row key="0">Do not track Site Search</row>
|
|
</availableValues>
|
|
<description />
|
|
<inlineHelp>You can use Matomo to track and report what visitors are searching in your website's internal search engine.</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>use_default_site_search_params</name>
|
|
<title>Use <a href='#globalSettings'>default</a> Site Search parameters</title>
|
|
<value>1</value>
|
|
<defaultValue>1</defaultValue>
|
|
<type>boolean</type>
|
|
<uiControl>checkbox</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description>Query parameter (Default): q,query,s,search,searchword,k,keyword,keywords & Category parameter: </description>
|
|
<inlineHelp />
|
|
<introduction />
|
|
<condition>1 && sitesearch</condition>
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>sitesearch_keyword_parameters</name>
|
|
<title>Query parameter</title>
|
|
<value>
|
|
<row/>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>text</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>Enter a comma separated list of all query parameter names containing the site search keyword.</inlineHelp>
|
|
<introduction />
|
|
<condition>sitesearch && !use_default_site_search_params</condition>
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>sitesearch_category_parameters</name>
|
|
<title>Category parameter</title>
|
|
<value>
|
|
<row/>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>text</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>(optional)<br /><br />You may enter a comma-separated list of query parameters specifying the search category.</inlineHelp>
|
|
<introduction />
|
|
<condition>sitesearch && !use_default_site_search_params</condition>
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>ecommerce</name>
|
|
<title>Ecommerce</title>
|
|
<value>0</value>
|
|
<defaultValue>0</defaultValue>
|
|
<type>integer</type>
|
|
<uiControl>select</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues>
|
|
<row>Not an Ecommerce site</row>
|
|
<row>Ecommerce enabled</row>
|
|
</availableValues>
|
|
<description />
|
|
<inlineHelp>When enabled, the "Goals" report will have a new "Ecommerce" section.<br />Matomo allows for advanced Ecommerce Analytics tracking and reporting. Learn more about <a href='https://matomo.org/docs/ecommerce-analytics/' target='_blank'> Ecommerce Analytics</a>.</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
</settings>
|
|
</row>
|
|
<row>
|
|
<pluginName>Live</pluginName>
|
|
<title>Live</title>
|
|
<settings>
|
|
<row>
|
|
<name>disable_visitor_log</name>
|
|
<title>Turn off visits log and visitor profiles</title>
|
|
<value>0</value>
|
|
<defaultValue>0</defaultValue>
|
|
<type>boolean</type>
|
|
<uiControl>checkbox</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>Also removes features that depend on these, like the e-commerce log, the segmented visits-log, the real-time map or the real-time widget. May be required to comply with local privacy laws/guidelines.</inlineHelp>
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
<row>
|
|
<name>disable_visitor_profile</name>
|
|
<title>Turn off visitor profiles</title>
|
|
<value>0</value>
|
|
<defaultValue>0</defaultValue>
|
|
<type>boolean</type>
|
|
<uiControl>checkbox</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp>All visits-log related features always function.</inlineHelp>
|
|
<introduction />
|
|
<condition>disable_visitor_log==0</condition>
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
</settings>
|
|
</row>
|
|
<row>
|
|
<pluginName>ExampleSettingsPlugin</pluginName>
|
|
<title>ExampleSettingsPlugin</title>
|
|
<settings>
|
|
<row>
|
|
<name>contact_email</name>
|
|
<title>Contact email addresses</title>
|
|
<value>
|
|
</value>
|
|
<defaultValue>
|
|
</defaultValue>
|
|
<type>array</type>
|
|
<uiControl>textarea</uiControl>
|
|
<uiControlAttributes>
|
|
</uiControlAttributes>
|
|
<availableValues />
|
|
<description />
|
|
<inlineHelp />
|
|
<introduction />
|
|
<condition />
|
|
<fullWidth>0</fullWidth>
|
|
</row>
|
|
</settings>
|
|
</row>
|
|
</result> |