"Due to" modifies nouns (not clauses).
Be careful with how you use "due to" - it can only be used in very defined ways.
The "due to" clause must modify a noun, and the pairing must make sense!
"The semester I found StudyBlue, I went from a 2.8 to a 3.8, and graduated with honors!"Jennifer Colorado School of Mines