Use Google Tag Manager for Google Analytics

We love the Google Analytics plugin - it is easy to use and does a good job tracking information across our instance of Pressbooks. However, there are few configuration options to get additional information beyond the basics that Google Analytics provides out of the box.

There is an open issue to add support for Google Analytics 4 which will be helpful, but I am wondering if there is any consideration to moving to Google Tag Manager (or at least offering it as an additional option). Google Tag Manager makes it easy to upgrade to new versions of Google Analytics and provides lots of additional functionality such as the ability to add custom events or dimensions.