Hello! I guess <this> answers my question (issue t...
# ask-questions
Hello! I guess this answers my question (issue that we found in production šŸ˜¢). Is the tracking callback triggerd only once per experiment/session? Is this happening on purpose for any SDK or just in the JS one?
@clean-river-69825 has opened an issue Close Issue button
ā­ Our official support hours are 6:30am - 5pm Pacific Time, Monday through Friday. You may occasionally hear from us outside of these hours. Your support request has been logged in our system. Our support team will get back to you very soon!
Hi David, thanks for your question. I'll double-check with our Engineering team tomorrow and get back to you.
šŸ™ 1
Correct, the trackingCallback is triggered only once per session in the JS SDK (and I believe in all other SDKs as well). If the page is refreshed then we may fire it again.
We have been discussing internally whether we should allow users to control whether the ā€‹`trackingCallback`ā€‹ fires on each evaluation or only once. Which would you prefer?
Iā€™d prefer to trigger it at each evaluation. I find that easier to manage and more predictable.
Thank you for the feedback, David! I'll let our Engineering team know about this.
šŸ™Œ 1