How do I add Google Analytics to a content management system?
There are a number of options for adding GA to CMS. The simplest is to use a built-in feature or a plugin. If your CMS supports such options, all you need to do is to create a Google Analytics property and add the tracking ID to the appropriate field in your CMS.
Other options including installing Global Site Tag or Google Tag Manager are explained in “How do I set up Google Analytics on my website?”