pub fn force_flush_sync() -> Result<(), Box<dyn Error + Send + Sync>>
Force flush analytics synchronously (ignores interval check) Call this at the end of main() to ensure events are sent