the only way to flush the event batching queue is to close the instance. This is way too rudimentary and inflexible for power users. Please let us in on low level api on when and how to flush the queue.
also consider to adjusting use `pagehide` in your code
> On the browser side,
optimizely.close() is automatically connected to the pagehide event, so there is no need to do any manual instrumentation.
> Like the
beforeunload events, this event is not reliably fired by browsers, especially on mobile. For example, the
pagehide event is not fired at all in the following scenario: