It’s not currently possible to use Google Tag Manager directly with Cognito Forms. That said, you can still track form activity by using Google Analytics to gather insights about your form views.
A good workaround is to embed your form on your own website and then add your Google Analytics and any other tags to that site. Learn more about Analytics & Tracking.