Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore CDP
Data privacy
Before you start sending data
Integrating with Sitecore CDP
Stream API
Batch API
REST APIs
Data lake export service
  • Sitecore CDP for developers
  • Stream API
  • Boxever JavaScript Library (legacy) reference
  • Functions
  • Boxever.getClientKey()

Boxever.getClientKey()

The getClientKey() function returns the client key.

Parameters

none

Return value

string

Example

Log the client key to the console:

RequestResponse
console.log(Boxever.getClientKey());
// "ZpHxO9WvLOfQRVPlvo0BqB8YjGYuFfNe"

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore