From 0efb864eaf00fee344b9150d2ef8bdc903041863 Mon Sep 17 00:00:00 2001 From: Robin Dunlop Date: Thu, 24 Nov 2022 08:56:30 -0500 Subject: [PATCH] add google analytics 4 tracking code --- app/views/layouts/application.html.haml | 1 + app/views/layouts/error.html.haml | 1 + app/views/layouts/global.html.haml | 1 + app/views/layouts/minimal.html.haml | 1 + app/views/shared/analytics/_google_4.html.erb | 11 +++++++++++ config/application.rb | 1 + 6 files changed, 16 insertions(+) create mode 100644 app/views/shared/analytics/_google_4.html.erb diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 0d9653bb7..429aee620 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -11,6 +11,7 @@ = csrf_meta_tags = render "shared/analytics/google" + = render "shared/analytics/google_4" /[if lt IE 7]