Implement this script above MGID ad code, in case your visitor choses to opt out.
<script> var MG_setRequestNonPersonalizedAds = 1; </script>
The opt out functionality should be developed and set up by each website owner individually. Please note, that this script will work if only your visitor refreshes the page after choosing to opt out.
For more information refer to your personal account manager.