What data leaves your app when you embed an onboarding checklist
An embedded widget runs code inside your product. Here is exactly what data it sends out, which keys belong where, and what to check before trusting it.
Embedding any third-party widget means running someone else's code inside your product, and the honest question to ask before doing that is not "is this vendor trustworthy" in the abstract — it is exactly what data the widget sends out, over what connection, authenticated how. For an onboarding checklist, the answer is narrow and worth stating plainly rather than taking on faith.
What the widget actually sends
The embedded script calls two kinds of endpoints: a read (GET /api/gs/v1/config and /state) to know what steps exist and which are complete, and a write (POST /api/gs/v1/complete) when a step finishes. The payload on both is a user id you chose and a step key you defined — not an email address, not a name, not anything the widget invents on its own. If your userId is an opaque internal id rather than an email, that is what travels; the widget has no way to know or send more than what you pass it.
The two keys, and why mixing them up is the actual risk
A publishable key (X-GS-Key) is meant to sit in client-side code and is restricted by allowed_origins — it can read config and state and complete steps, scoped to the project it belongs to. A secret key (X-GS-Secret) can do more and is rejected outright if sent from a browser context in the query string; it belongs only in server-to-server calls. The actual security risk with this kind of widget is not the vendor's own breach surface — it is a secret key accidentally shipped in a front-end bundle, which is a mistake on the integrating side, not the product's.
# client-side (publishable, origin-restricted)
X-GS-Key: pk_live_...
# server-side only (secret, never in a browser)
X-GS-Secret: sk_live_...
What to check before trusting an embed
Check the allowed_origins configured for your project actually match your domains — a publishable key is only as safe as that allowlist, and a wildcard origin defeats the point of it being origin-restricted at all. Check what the widget does over the network yourself, with your browser's own request inspector, rather than trusting documentation — a widget's actual behavior is one tab away from verification and that verification costs nothing.
What this is not a substitute for
None of this replaces your own judgment about whether a third-party script belongs on a page handling sensitive account flows. A checklist on a general dashboard and a checklist on a payment confirmation screen carry different acceptable risk, and that is a call the integrating team makes, not something a vendor's security page settles for you.
What to measure instead of guessing
Rather than asserting the widget is "secure" as a blanket claim, check the specific things that matter for your setup: TLS on every request (it is HTTPS-only), the actual fields in the request body you send, and the scopes a given key grants. Those are checkable facts, not reassurances.
See the docs for the full API surface and key scoping, and the live preview to inspect its network calls yourself.