You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to suggest to add the following two functions to the formbricks pixel (wording tbd):
formbricks.isInitialized() returns true if Formbricks is initialized, false otherwise (e.g. before formbricks.init() call or after formbricks.logout())
formbricks.inCooldown() returns true if the user already saw a survey and is in recontact waiting time phase (the user might still be able to see surveys that ignore the recontact waiting time) and false otherwise
Describe the solution you'd like
Add those functions to js-core
Describe alternatives you've considered
Directly check formbricks-js in local storage (but this is cumbersome and not future proof).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to suggest to add the following two functions to the formbricks pixel (wording tbd):
formbricks.isInitialized()
returns true if Formbricks is initialized, false otherwise (e.g. beforeformbricks.init()
call or afterformbricks.logout()
)formbricks.inCooldown()
returns true if the user already saw a survey and is in recontact waiting time phase (the user might still be able to see surveys that ignore the recontact waiting time) and false otherwiseDescribe the solution you'd like
Add those functions to js-core
Describe alternatives you've considered
Directly check
formbricks-js
in local storage (but this is cumbersome and not future proof).Additional context
No response
The text was updated successfully, but these errors were encountered: