CDP Frontend SDK
    Preparing search index...

    Function initialize

    • Initializes the core package. Must be called before using any other functions.

      Parameters

      • cfg: Config

        The configuration for the core package.

      Returns Promise<void>

      await initialize({
      projectId: "your-project-id", // Your project ID from the CDP Portal
      });