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
Exclude folders #1750
Comments
Why don't you exlude those folders by not including the tracking there? |
I thought about that, but it's not always easily feasible. |
Excluding a parameter is different from excluding a path. The former still tracks the pageview and visit. The latter (as I understand it) asks that we exclude the pageview but presumably still track the visit. Instead of excluding the pageview in the tracker, would a datatable filter work for you? |
I would only track the visit if the visitor has at least one pageview outside of the excluded paths. What about implementing a function in piwik.js to define those paths and then only track pageviews that are not within the excluded paths. |
I agree with SteveG. |
In that case, let's mark this as a wontfix. Adding a new method to piwik.js which simply acts as a wrapper for a one-liner seems silly, especially considering that we'd have to also have document it and add unit tests. To exclude a pageview:
|
You mean, adding this to the code on the pages to track? |
yes. the advantage of doing it on the client is that there's no tracking data sent to the server, nor wasted cycles on the server to process something that you're not going to record anyways. |
Sounds good to me. |
I added the FAQ on http://piwik.org/faq/how-to/#faq_89 let me know if the text can/should be improved, thanks! |
There is no FAQ #89 on that page. Hasn't been published yet? |
It should be now, thx |
Well done. Thank you :) |
There is a way to exclude URL Query parameters, but I couldn't find anything to exclude folders.
I would find it useful to be able to exclude a list of folders like /admin, etc.
The text was updated successfully, but these errors were encountered: