From 8205ab238118562fae285832284d93b9104eb744 Mon Sep 17 00:00:00 2001 From: Graham Lewis <44037625+gclssvglx@users.noreply.github.com> Date: Fri, 19 Aug 2022 09:03:40 +0100 Subject: [PATCH] Rename GA4 tracking module --- app/views/content_items/manual_section.html.erb | 2 +- app/views/content_items/manuals/_updates.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/content_items/manual_section.html.erb b/app/views/content_items/manual_section.html.erb index 052c2bfc5..a9a0802d8 100644 --- a/app/views/content_items/manual_section.html.erb +++ b/app/views/content_items/manual_section.html.erb @@ -57,7 +57,7 @@ { data_attributes: { - module: "gtm-track-click", + module: "ga4-event-tracker", ga4: { event_name: "select_content", type: "accordion", diff --git a/app/views/content_items/manuals/_updates.html.erb b/app/views/content_items/manuals/_updates.html.erb index edef46a7d..06e8c6531 100644 --- a/app/views/content_items/manuals/_updates.html.erb +++ b/app/views/content_items/manuals/_updates.html.erb @@ -46,7 +46,7 @@ <% end { data_attributes: { - module: "gtm-track-click", + module: "ga4-event-tracker", ga4: { event_name: 'select_content', type: 'accordion',