Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to exclude all query parameters - or to include only required/wanted paramters #2620

Open
anonymous-matomo-user opened this issue Aug 10, 2011 · 4 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@anonymous-matomo-user
Copy link

we use piwik in our intranet. we are not interested in the query paramters. so at the moment you only can exclude parameters by setting a list of query parameters in gui -> config -> website.

how about an option to exclude ALL of the parameters. at the moment i have patched core/Action.php in line 190

$parsedUrl['query'] = substr($validQuery,0,-strlen($separator));
$parsedUrl['query'] = ''; // new
$url = Piwik_Common::getParseUrlReverse($parsedUrl);

simple way to remove all of the parameters.

make this configurable for all or certain websites.

one more option: maybe have an option to

  • exclude query parameters (like today)
  • include query parameters,
    new: give a list of parameters that should be looked up
  • config option to exclude all parameters.

i am not sure, how save it is to remove all the parameters the way i do it at the moment. for example the SiteSearch plugin needs the query params to track searches. so there might be a conflict.

my problem is, in our intranet we have index.php?search=foobar. so in the aciton page report we have "houndreds" and "thousands" of index.php?search=xxx entries. i want only see index.php, but have the search=xxx in the SiteSearch report.

but this is another subject. at the moment i have disabled the sitesearch plugin as we have this informatio in our search database.

markus

@mattab
Copy link
Member

mattab commented Sep 17, 2011

At least we should option to "exclude all parameters" from all websites, or per website.

@mattab
Copy link
Member

mattab commented Aug 7, 2012

+1 Vote to add a check "Exclude all URL parameters" below each Excluded URL Parameters Textarea. Setting cached in cache/tracker/.

@anonymous-matomo-user anonymous-matomo-user added this to the Future releases milestone Jul 8, 2014
@quba
Copy link
Contributor

quba commented Jul 29, 2015

There's a workaround - you can strip all not needed parameters directly in the tracking code - it's similar to forcing lowercase URLs (of course some more logic required). See http://piwik.org/faq/how-to/faq_90/

@mattab mattab modified the milestones: Long term, Mid term Dec 23, 2015
@pafgoncalves
Copy link
Contributor

This #10846 pull request can help.
Allows to use a regular expression for the exclude option.
/.*/ will exclude all parameters.

@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

4 participants