Repository navigation
Extract visitor information from web server log? #210
Replies: 3 comments 2 replies
|
I think someone from the Changelog team also requested this "server analytics" module. While this sounds definitely interesting, and there are many tools for analyzing the logs. I think it would make sense to add an "import" data feature with some format and have different exporters export into this format. we have #142 for importing GA data. |
|
I would happily contribute a plugin for Elixir that does the https://docs.plausible.io/custom-domain please note that ad blockers already do CNAME resolution and block via IP so this is not a long-term solution if plausible isn't considered "friendly". |
|
See also, that Matomo offers a feature like this where they provide a (python) script which parses common Apache/nginx web server logs and imports all requests. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Instead of inserting a JavaScript in every page to collect information, would it be an option to analyze the web server log instead? Most of the information I see in the live demo, such as URLs requested, referrer and user agent, is found in the HTTP headers. So with the right configuration, this information can be logged by the server. In fact, the default log configuration of Apache on my PC already contains URL, referrer and user agent.
Some information such as the screen size would be hard or impossible to gather without JavaScript. But while this is useful to know, the OS distribution will already give you an idea about the ratio of desktop/laptop vs tablet/phone users.
While it's awesome that your collection script is tiny, not loading any script would be even better, in my opinion. And it would allow for analytics of user agents that don't execute JavaScript, such as web crawlers, feed readers or clients that talk to your site's API.
To be clear: I'm not advocating replacing the collection script for everyone, but it would be nice to give the site owner an alternative way of collecting information to feed into Plausible Analytics.
All reactions