Skip to main content

I’m trying to validate my experiment’s setup by making sure an exposure event is being sent each time experiment.variant() is being called. I see that it sends through the first call, but subsequent calls do not send an $exposure event. Is this the expected behaviour?

On the other hand, I see that flags that are feature flags (instead of experiment flags) are able to send $exposure events every time.

Could I be missing something here?

Nevermind, I did not realise the events were being batch sent so I was only looking at the first event of each network request 😅 Looks like they are indeed being sent correctly per variant() call.


Hi mooselliotbandlab,

Glad the issue is resolved
I will go ahead and close this ticket, but feel free to reach out for further questions.

Have a fantastic day! 😊

Best regards,
Jake


P.S. Checkout upcoming events and user meetups on our events page.

Reply