Thank you so much. The error has been resolved. Google Analytics is now connected.
I have added the analytics snippet to the header section of the plugin but I just forgot about it. Thank you for noticing that.
I have also visited the link you shared. I came to know that I can add analytics to the Divi theme without using any plugins. Thank you for sharing this information.