How to customize welcome page #6139
Replies: 1 comment
-
|
Hey, @StanFromIreland! I agree that the admin-focused landing page at the root URL is a bit unexpected. It's not configurable at the moment, but it is specific to CE. I don't see why we couldn't make it configurable analytics/lib/plausible_web/controllers/page_controller.ex Lines 10 to 14 in bf477e5 The template that is rendered: index.html.heex. The workaround would be to use a reverse proxy in front of Plausible CE to rewrite (or redirect) FWIW, you can get the Plausible CE web server to serve any static files by putting them in the directories For example, the following config # compose.override.yml
services:
plausible:
volumes:
- ./hello.html:/app/lib/plausible-0.0.1/priv/static/js/hello.html:ro
- ./hello.html.gz:/app/lib/plausible-0.0.1/priv/static/js/hello.html.gz:rowould make This means you will be able to serve a custom single page app at |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Over at Python, we self host plausible: https://analytics.python.org/
We also make our analytics public, e.g. docs.python.org, devguide.python.org, python.org etc. However, when someone ends up at https://analytics.python.org/ they are confused, since it seems like login is required (but we have registration disabled). Is there any way we can customise the welcome page to add a list of quick links? Or, even better would be for it to redirect to
/sitesand show all of the public ones there.Thanks,
Stan
Beta Was this translation helpful? Give feedback.
All reactions