Skip to main content

Installation

Install the browser SDK package:

Quickstart

Application Git provenance

Browser builds cannot read runtime environment variables, a filesystem, or Git. Inject the application build identity explicitly; do not expect runtime discovery:
The emitted properties are raindrop.app.commit_sha, raindrop.app.commit_dirty, and raindrop.app.branch. Existing canonical event properties win, including null, empty, or invalid values, and other properties are preserved. appGit: false disables all client enrichment; autoDetect: false only disables automatic sources and retains explicit values, although the browser has no automatic source. detectBranch and sourceDirectory likewise do not enable browser runtime discovery. This metadata is for reporting and filtering only and does not select a simulation checkout or rewrite release/SDK fields.
This option requires the coordinated browser SDK and base-package release that contains application Git reporting. No version is documented until it is published.

Projects

Pass projectId to scope events to a specific project. This sets the X-Raindrop-Project-Id header on each request.
Omitting projectId (or passing 'default') sends to the default Production project, which is the existing behavior. See Projects for details.

Identify users

Signals