Opened 17 months ago
Closed 16 months ago
#5562 closed task (fixed)
Remove hard-coded use of Google Analytics from repository
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.5.0 |
Component: | build | Version: | master |
Keywords: | documentation | Cc: |
Description
At the moment a couple of makefile targets produce html which use javascript to report page visits to Google. I think we should replace them with some generic way to specify custom scripts to include in the HTML output.
Doing so would simplify the scripts becuase we would not need separate targets for "chunked-html-web" and "chunked-html-web-mobile" as the only difference between those targets and "chunked-html" is the injection of different scripts/css.
It will also be possible to switch between services without the need to change build scripts, for example to use an OSGeo provided analytics service ( see https://trac.osgeo.org/osgeo/ticket/2830 )
Change History (3)
comment:1 by , 17 months ago
comment:2 by , 17 months ago
There's no more Makefile rule to explicitly use the ga.js file. That file entered the codebase in 2018 (by Paul) and was never modified. We've been using it ONLY for the chunked-html output so far, I don't know where is the data nor if we can download it for reuse in another system, so I'd leave the next steps to whoever knows about those details.
In 04f10ae/git: