Interlisp / medley

The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
https://Interlisp.org
MIT License
368 stars 19 forks source link

Complete configuration of Google Analytics #1102

Closed stumbo closed 1 year ago

stumbo commented 1 year ago

The Interlisp home page does not implement Google Analytics or any tracking tools.

The number of unique and return visitors and understanding what pages are visited (or not) could be of value.

Web Wellness Report

masinter commented 1 year ago

There is an analytics tag G-R47WVG76EL but the instructions I found https://www.docsy.dev/docs/adding-content/feedback/#:~:text=Setup%201%20Open%20hugo.toml%20%2F%20hugo.yaml%20%2F%20hugo.json.,Save%20and%20close%20hugo.toml%20%2F%20hugo.yaml%20%2F%20hugo.json. don't correspond to our site find . -iname 'hugo*' doesn't find a 'hugo configuration file'

The online web pages should get some data too. (will move this issue to medley)

nbriggs commented 1 year ago

I we do implement tracking, we have to fully comply with the CCPA (and for Europeans, GDPR) regulations.

masinter commented 1 year ago

Once you have your analytics ID, you can enable Google Analytics by adding it to your site’s configuration file. For details on how to do this, see the Docsy documentation on configuring Google Analytics 1. By default, Docsy uses the gtag.js analytics library for both GA4 and Universal Analytics (UA) site tags.

stumbo commented 1 year ago

Closed by PR 106

I currently have Google Analytics set up using my Google Analytics token. We can change that if needed. The tracker listens to do not track and acts accordingly. I had to enable tracking to verify it worked.

Here's the real time log from Google Analytics:

Image

masinter commented 1 year ago

shoould we wait until we have an Interlisp.org tag, and analytics on online.interlisp.org ?