wp-plugin-cloudflare-cache/.svn/pristine/57/5795a7da9f8b798f5a1820eb6a9...

12 lines
375 B
Plaintext
Raw Normal View History

2024-03-27 15:58:02 -04:00
/**
* Initialize the formbricks survey.
*
* @see https://github.com/formbricks/setup-examples/tree/main/html
*/
window.addEventListener('themeisle:survey:loaded', function () {
window?.tsdk_formbricks?.init?.({
environmentId: "clt8lntxw0zbu5zwkn3q2ybkq",
apiHost: "https://app.formbricks.com",
...(window?.swcfpcSurveyData ?? {}),
});
});