'due to must be preceded by and followed by a noun phrase'
It offers [bolding mine]:
due to prep. Because of.
Usage Note: Due to has been widely used for many years as a compound
preposition like owing to, but some critics have insisted that due
should be used only as an adjective. According to this view, it is
incorrect to say The concert was canceled due to the rain, but
acceptable to say The cancellation of the concert was due to the
rain, where due continues to function as an adjective modifying
cancellation.
This seems a fine point, however, and since due to is widely used and understood, there seems little reason to avoid using it as a
preposition.
Best Answer
I concur with Mr. Lawler, but I would recommend inserting the definite article, particularly in the second example.