Skip to content

Not having Google Analytics set up results in 404 request #2481

Open
@J4bbi

Description

@J4bbi

Describe the bug
If a repository is not set up to use Google Analytics, the backend responds with a 404 response. If a property hasn't been set (see REST contract for configuration properties).

To Reproduce
Steps to reproduce the behavior:

  1. Open up a repository landing page (or any page)
  2. Inspect the console

Expected behavior
The frontend should be able to gracefully establish if Google Analytics is disabled.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🙋 Needs Help / Unscheduled

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions