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?
11/08/2023, 11:22 AM
@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.
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?
11/10/2023, 7:55 AM
I’d prefer to trigger it at each evaluation. I find that easier to manage and more predictable.
11/14/2023, 4:49 PM
Thank you for the feedback, David! I'll let our Engineering team know about this.