Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics configuration is the responsibility of the host application when running in widget mode #3089

Draft
wants to merge 3 commits into
base: livekit
Choose a base branch
from

Conversation

hughns
Copy link
Member

@hughns hughns commented Mar 13, 2025

Part of #2994. Best reviewed without whitespaces changes.

When running in widget mode the host application (e.g. messenger application) is now responsible for managing analytics consent.

  • The following configuration options are ignored when running in widget mode:
    • sentry.*
    • posthog.*
  • New widget-only URL parameters:
    • posthogApiHost, posthogApiKey and posthogUserId
    • sentryDsn and sentryEnvironment
    • rageshakeSubmitUrl
  • analyticsID is deprecated in favour of posthogUserId
  • The Analytics section of the Settings is not shown in widget mode

@hughns hughns changed the base branch from livekit to hughns/split-widget-only-params March 13, 2025 10:28
Base automatically changed from hughns/split-widget-only-params to livekit March 13, 2025 10:28
@hughns hughns changed the title Separate widget-only URL parameters in the documentation Support for analytics configuration via URL parameters in widget mode Mar 13, 2025
Adds:

- posthogApiHost
- posthogApiKey
- rageshakeSubmitUrl
- sentryDsn
- sentryEnvironment
@hughns hughns changed the title Support for analytics configuration via URL parameters in widget mode Analytics configuration is the responsibility of the host application when running in widget mode Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant