Download Latest Version @formbricks_js@1.2.0 source code.zip (104.5 MB)
Email in envelope

Get an email when there's a new version of Formbricks

Home / @formbricks_js@1.2.0
Name Modified Size InfoDownloads / Week
Parent folder
@formbricks_js@1.2.0 source code.tar.gz 2023-11-12 103.7 MB
@formbricks_js@1.2.0 source code.zip 2023-11-12 104.5 MB
README.md 2023-11-12 776 Bytes
Totals: 3 Items   208.1 MB 0

We have just released the Formbricks JS SDK (@formbricks/js) version 1.2.0 with some major changes. The JS SDK can now be used in two modes: Without user identification (default, for public-facing websites) or with user identification. To identify users in your application, from now on you need to set the userId inside the init call. setUserId() is no longer supported.

:::ts
formbricks.init({
  environmentId: "<environment-id>",
  apiHost: "<api-host>",
  userID: "<user_id>",
});

Read more here: https://formbricks.com/docs/attributes/identify-users

We have also updated our internal APIs, so please update your @formbricks/js version (or html snippet) to the latest version to take advantage of the latest Formbricks features.

Source: README.md, updated 2023-11-12