Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4541

Slight increase in robustness of analytics from Jalview Desktop

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Ready for testing
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.11.4.1
    • Fix Version/s: 2.11.5, 2.11.4.2
    • Component/s: None
    • Labels:
      None

      Description

      Recording a Plausible event (e.g. "application_launch") involves sending an HTTP POST to "/api/event" with a JSON body in the request. The JSON contains only a handful of things but in particular it contains the "url" that you want to be recorded. In Jalview Desktop's case this is a string starting with "/Jalview Desktop/" and then has version information.

      If for some reason Plausible has stopped recording events, then the only trace of the call is in the www-prod Apache log. For a POST event the POST data is not recorded in the Apache log so the version information is lost.

      Testing with Plausible suggests that anything added to the querystring is ignored (to be expected) since it is only interested in the JSON body. However, the querystring would be recorded in the Apache log so leaves a trace there that could be obtained (and perhaps re-ingested into Plausible). Alternatively Apache logs could be used (historically or presently) with other analysis software.

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            soares Ben Soares
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: