Comments (6)
We would need some kind of extension that would allow users to write custom rules as I don't think we can find defaults that work for everyone. It might be better to block those URLs instead of just hiding them.
My first idea: An env variable that lets you specify Regex patterns to block. Ackee will check those before writing them to the database. This however won't allow you to just remove parts of a URL.
(Alternatively, Ackee could remove the query string from the URL, and that would solve 90% of the above problem, but eg. search terms or marketing campaigns would not be trackable.)
Ackee already applies small adjustments to URLs before writing them to the database. I can't do too much by default as queries are relevant for some users. It's also possible to build the routing of a webapp via queries for example.
Any other ideas? What do you think about Regex patterns?
from ackee.
I also have a use case where I don't want to track the full URLs. I opted to modify the URL before it's sent to the server by ackeeTracker
:
const url = new URL(window.location.href)
url.hash = ''
tracker.record({
siteLocation: url.toString()
})
@gcampax would something like that work for your use case?
from ackee.
Yeah I think the problem is that, as @electerious notes, queries are sometimes relevant and sometimes not. Often, the URL path itself can be sensitive, if it contains say the ID or hash of a document (think Google Doc like link). So none of these solutions would be complete.
I think removing all URLs that have not been seen >= K times (for a configurable K) is a much better approach, and it has the advantage of being an easy-to-defend standard in protecting privacy.
from ackee.
I don't think that there's a good way to build an option that works for all users. I would suggest to modify the URL before tracking the visit with ackee-tracker
. It would be great if someone could add a page to the docs/
that shows how to do so (with examples).
Here's an example: #113 (comment)
Would be helpful for #114, #113 and this issue.
from ackee.
Ok, I think it's clear you're not interested in adding this feature. That is fine, and I think the workarounds you suggested are acceptable. Thank you for the all the help, and for this project in this first place. I'm going to close this issue.
from ackee.
I've created a new issue. Would be cool if someone could write a documentation for this workaround: #163
from ackee.
Related Issues (20)
- Cant login to dashboard HOT 7
- Error login HOT 1
- Unrecognized time zone identifier: "Europe/Kyiv" HOT 6
- Unexpected token 'A', "An error o"... is not valid JSON HOT 1
- Hosting my website on netlify makes requests from preview builds logged HOT 6
- Cloudflare tunnels HOT 1
- A Public Analytics Page for Increased Transparency and User Engagement
- Support passwordless public dashboard HOT 2
- Trouble Signing In to app. Received status code 502 HOT 2
- Unable to connect to MongoDB with TLS
- Is it possible to integrate the Ackee with NextJS as inbuilt analytics. HOT 1
- unrecognized time zone identifier: "Europe/Kyiv" HOT 1
- Premission to publish "Ackee" app in Umbrel App store
- Any way to get complete history for pages visits? HOT 3
- Add documentation for configuring Caddy as a reverse proxy HOT 1
- Add Elestio as a deployment option for Ackee
- Unbounded cache enabled in production
- Upgrade mongoose 6.x to 8.x
- Duration limit customisation HOT 1
- Deploy to Railway documentation outdated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ackee.