We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
I have created an API survey with the Display Conditions: User sends events -> my_event.
my_event
Given the following example
posthog.getActiveMatchingSurveys(console.log) setTimeout(() => posthog.capture('my_event'), 1000)
Expected behavior
I'd expect the following console output:
[] [{ "type": "api", "id": "...",... }]
Current behavior
The actual console output:
[]
Given the code snippet above, if posthog.getActiveMatchingSurveys(console.log) is executed again, the callback receives the expected argument
posthog.getActiveMatchingSurveys(console.log)
[{ "type": "api", "id": "...",... }]
Though I am looking for a push-based mechanism from getActiveMatchingSurveys rather than a pull-based, as shown in the "Expected Behavior"
getActiveMatchingSurveys
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I have created an API survey with the Display Conditions: User sends events ->
my_event
.Given the following example
Expected behavior
I'd expect the following console output:
Current behavior
The actual console output:
Given the code snippet above, if
posthog.getActiveMatchingSurveys(console.log)
is executed again, thecallback receives the expected argument
Though I am looking for a push-based mechanism from
getActiveMatchingSurveys
rather than a pull-based, as shown in the "Expected Behavior"The text was updated successfully, but these errors were encountered: