Add Google Analytics 4 / Tag Manager scripts to application layouts
Add terraform settings and variables for the Tag Manager container id
Removes the google-analytics-rails dependency
Adds new GoogleTagManagerHelper with #render_google_tag_manager_head and #render_google_tag_manager_body methods to create the tags in an html-safe manner. They will output empty strings unless Settings.analytics_container_id has a value.
Note: terraform changes not yet applied to production environment
Changes proposed in this pull request:
google-analytics-rails
dependencyGoogleTagManagerHelper
with#render_google_tag_manager_head
and#render_google_tag_manager_body
methods to create the tags in an html-safe manner. They will output empty strings unlessSettings.analytics_container_id
has a value.Note: terraform changes not yet applied to production environment