Is exposing writeKey and dataPlaneUrl in client-side JS a risk? #5943
-
Hey everyone 👋, I’d like to get the community’s opinion on something that’s quite common in modern web apps. Tools like RudderStack, Segment, and other event tracking libraries require you to include a writeKey and dataPlaneUrl in your client-side JavaScript, which means they’re publicly accessible to anyone inspecting the source. 🔍 With these values exposed, anyone can:
So my questions are:
💬 Would love to hear your thoughts, especially from those who’ve worked with analytics platforms, telemetry pipelines, or have experienced abuse related to exposed analytics keys. Thanks in advance! 🙌 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
writeKey
anddataPlaneUrl
are not secrets. To specifically answer your question