mirror of
https://github.com/movie-web/docs.git
synced 2025-09-12 21:53:26 +00:00
Merge pull request #30 from qtchaos/google-analytics
Add `VITE_GA_ID` and update proxy docs to mention new behaviour.
This commit is contained in:
@@ -42,13 +42,15 @@ This is the **read** API key from TMDB to allow movie-web to search for media. [
|
||||
**Required. The client will not work properly if this is not configured.**
|
||||
::
|
||||
|
||||
### `VITE_CORS_PROXY_URL` ⚠
|
||||
### `VITE_CORS_PROXY_URL`
|
||||
|
||||
- Type: `string`
|
||||
- Default: `""`
|
||||
- Example: `"https://example1.example.com,https://example2.example.com"`
|
||||
|
||||
This is where you put proxy URLS, you must have at least one. [Get one by following our guide](/proxy/deploy).
|
||||
This is where you put proxy URLs. [Get some by following our guides](/proxy/deploy).
|
||||
|
||||
If left empty, the client onboarding will not provide a "default setup" and the user will have to manually configure their own proxy or use the extension.
|
||||
|
||||
You can add multiple Workers by separating them with a comma, they will be load balanced using round robin method on the client.
|
||||
**Worker URL entries must not end with a slash.**
|
||||
@@ -80,7 +82,7 @@ Setting this configuration value to `true` will enable the history-router.
|
||||
### `VITE_BACKEND_URL`
|
||||
|
||||
- Type: `string`
|
||||
- Default: `"https://backend.movie-web.app"`
|
||||
- Default: `""`
|
||||
- Example: `"https://backend.example.com"`
|
||||
|
||||
This is the URL for the movie-web backend server which handles cross-device syncing.
|
||||
@@ -175,6 +177,14 @@ A PWA web application can be installed as an application to your phone or deskto
|
||||
Make sure you know what you're doing before enabling this, it **cannot be disabled** after you've set it up once.
|
||||
::
|
||||
|
||||
### `VITE_GA_ID`
|
||||
|
||||
- Type: `string`
|
||||
- Default: `""`
|
||||
- Example: `"G-1234567890"`
|
||||
|
||||
The Google Analytics ID for tracking user behavior. If omitted, no tracking will be done.
|
||||
|
||||
### `VITE_APP_DOMAIN`
|
||||
|
||||
- Type: `string`
|
||||
|
Reference in New Issue
Block a user