Skip to content

analytics_src is hardcoded, should be an env variable #56

Description

@dannymandel

Currently, when we generate the config.js as part of the build process, the analytics pieces look like this:

\"analytics_src\": \"https://metrics.isample.xyz/js/plausible.js\",\n  \"analytics_domain\": \"$ANALYTICS_DOMAIN\"

The analytics_src should be configurable the same way that the analytics_domain is, otherwise we'll always be hardcoded to the same src file (and IIRC under the hood this determines the API endpoints).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions