project Websites / Privacy Sensitive Analytics avatar

websites/privacy-sensitive-analytics#21: Disable the image endpoint

Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Created: 17-Dec-23 10:48


In websites/privacy-sensitive-analytics#18 I added a gif pixel to function as a hitcounter.

However, in the time since, I've found that I haven't really made any use (at all) of the data that it generates: all it's really doing is increasing cardinality in the database.

I think it's time to look at turning it off.

Issue Links

Toggle State Changes


assigned to @btasker

mentioned in issue jira-projects/LAN#122

I've updated the Nginx server block so that it still responds to that path, but no longer collects anything

        location = /count.gif {
                # Disabled in [jira-projects/LAN#122](/issue/jira-projects/LAN/122.html) / [websites/privacy-sensitive-analytics#21](/issue/websites/privacy-sensitive-analytics/21.html)
                if ($request_method = 'OPTIONS') {
                        add_header 'Access-Control-Allow-Origin' '*';
                        add_header 'Access-Control-Allow-Methods' 'POST, OPTIONS';
                        add_header 'Access-Control-Allow-Headers' 'DNT,Cache-Control,Content-Type';
                        add_header 'Access-Control-Max-Age' 1728000;
                        add_header 'Content-Type' 'text/plain; charset=utf-8';
                        add_header 'Content-Length' 0;
                        return 204;

                add_header 'Access-Control-Allow-Origin' '*';
                add_header 'Access-Control-Allow-Methods' 'POST,OPTIONS';
                add_header 'Access-Control-Allow-Headers' 'DNT,Cache-Control,Content-Type';


marked this issue as related to #18


mentioned in commit 1b21927752d0ebbb30dfa696876d45cf918ca037

Commit: 1b21927752d0ebbb30dfa696876d45cf918ca037 
Author: B Tasker                            
Date: 2023-12-17T10:56:05.000+00:00 


disable pixel info collection for websites/privacy-sensitive-analytics#21

+0 -18 (18 lines changed)

mentioned in commit 4e06c343236159539ef7df7529736f73b5037435

Commit: 4e06c343236159539ef7df7529736f73b5037435 
Author: B Tasker                            
Date: 2023-12-17T10:58:13.000+00:00 


Remove support for image requests from LUA websites/privacy-sensitive-analytics#21

+5 -105 (110 lines changed)

mentioned in commit sysconfigs/domains.d@ba05d2436f5f83e5aa37553c297684182fdb8550

Commit: sysconfigs/domains.d@ba05d2436f5f83e5aa37553c297684182fdb8550 
Author: root                            
Date: 2023-12-17T10:51:01.000+00:00 


Disable collection from tracking pixel (websites/privacy-sensitive-analytics#21)

+1 -17 (18 lines changed)