Hello @freshyjon,
Thank you for contacting the support.
You can add the code in your theme’s functions.php file or use a 3rd party plugin to insert the code in your header. Sorry to disappoint but that feature is unfortunately not available at this time.
The Rank Math plugin’s Analytics module does way beyond installing the code. You can read all about that here:
https://rankmath.com/kb/analytics/
With that being said, there are existing feature requests, so I’ve added your vote to our internal suggestions lists. If your suggestions are something that we’re able to introduce, I’ll be sure to let you know.
If there’s anything else we can help you with, please let us know. We are here to assist.