Note: Telemetry was introduced in clerk-js@5.0.0 and is not in place for any previous versions of our SDKs.
Clerk collects telemetry data from its SDKs about general product and feature usage. Participation in telemetry collection is optional and users of the product can opt-out at any time.
While we actively engage with our users and community to gather feedback and inform our product roadmap, the information collected from these efforts only represents a small subset of our users.
Collecting telemetry data gives us a clearer picture into how our SDKs, components, and authentication helpers are used for a diverse set of problems. This data provides valuable insights to help us prioritize features that are useful and impactful for as many of our users as possible.
We track general usage information about our SDKs, components, and authentication helpers from development instances only. While we collect identifiers that allows us to associate events with specific Clerk instances, we do not collect any information from your users.
Examples of data we are interested in:
<SignIn />
, <SignUp />
, <UserProfile />
) rendered?appearance
prop on our components?next
version is being used along with @clerk/nextjs
)Note: We regularly audit this list to ensure it is an accurate representation of the data we are collecting. To audit telemetry data sent from our SDKs yourself, you can set a
CLERK_TELEMETRY_DEBUG=1
environment variable in your application. In this mode, telemetry events are only logged to the console and not sent to Clerk.
An example event looks like this:
event
— A unique identifier for the event type.cv
— Clerk Version. The version of the core Clerk library in use.sdk
— SDK. The Clerk SDK that is being used.sdkv
— SDK Version. The version of the Clerk SDK.pk
— Publishable Key. The instance's publishable key.payload
— Each unique event can provide custom data as part of the payload. As seen above, for the COMPONENT_MOUNTED
event we track the component name and additional data about prop usage.We will not collect sensitive data from your application or development environment that is not directly related to your implementation of Clerk's SDKs. Notably, we will not collect: environment variables unrelated to Clerk, any information about your users, file paths, contents of files, logs, git remote information, or raw JavaScript errors.
Clerk takes data privacy and protection seriously. Telemetry data is most useful in aggregate form to gain product insights, and the raw data is only available to a small subset of Clerk employees.
We will never share with or sell telemetry data to third parties. The data is used strictly to help improve the Clerk product.
Warning: Note that the variable name might differ between frameworks. See the framework specific instructions below.
For meta-framework SDKs, you can opt-out of telemetry collection by setting the environment variable:
telemetry
propIf you are using @clerk/clerk-react
directly, or using an SDK that doesn't have environment variable support, you can opt out by passing the telemetry
prop to <ClerkProvider />
: