Question: do to due to grammar?
Answer: Your super simple check for the DO/DUE error is to substitute BECAUSE. If you can use BECAUSE in your sentence, the CORRECT word to use is DUE. However, it's best to avoid DUE TO THE FACT THAT in formal writing. It's just wordy and annoying.