diff --git a/.env.example b/.env.example index a97679f7e..f85607fb9 100644 --- a/.env.example +++ b/.env.example @@ -176,6 +176,9 @@ ANDROID_SHA256_CERT_FINGERPRINT=AC:73:8E:DE:EB:56:EA:CC:10:87:02:A7:65:37:7B:38: # MICROSOFT CLARITY # MS_CLARITY_TOKEN=xxxxxxxxx +# GOOGLE_TAG_MANAGER +# GOOGLE_TAG = GTM-XXXXXXX + ## Scout ## https://scoutapm.com/docs/ruby/configuration # SCOUT_KEY=YOURKEY diff --git a/app/views/layouts/vueapp.html.erb b/app/views/layouts/vueapp.html.erb index c7d1120f6..d81387687 100644 --- a/app/views/layouts/vueapp.html.erb +++ b/app/views/layouts/vueapp.html.erb @@ -93,5 +93,14 @@ })(window, document, 'clarity', 'script', '<%= ENV.fetch('MS_CLARITY_TOKEN', '') %>'); <% end %> + <% if ENV.fetch('GOOGLE_TAG', nil).present? %> + + <% end %>