I have Google Analytics on my website but when I try to verify ownership it fails. I have the gtag.js snippet and the analytics works fine.
Google Verify Ownership
https://support.google.com/webmasters/answer/9008080?hl=en
Follow the steps laid out for gtag verification. Your site does not comply with the instructions.