Email Opt Out Reason and What Email made them unsubscribe export option

We would like the ability to add a question after someone unsubscribes so we can understand why they unsubscribe. From my understanding, there is not a way to do this without code.