I have self hosted seatable and present an app to my visitors.
I want to have analtics on how much the page is visited.
Does seatable provide it ?
This is currently not supported.
Oki.
What can you suggest me currently for doing so ?
1 Like
I found a solution.
I modify the nginx configuration inside seatable container to add my analytics server in the head section like:
server {
server_name example.com www.example.com
location / {
proxy_pass http://localhost:3000;
sub_filter '</head>' '<script>ANALYTICS JAVASCRIPT SNIPPET</script></head>';
sub_filter_once on;
}
}
I got inspiration from this article Modify HTML pages on the fly using NGINX | by Saman Baboli | Medium
3 Likes
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.