From dfabfda3b055790d59bd9638a6b4fec66bd73bae Mon Sep 17 00:00:00 2001 From: AshGDS <8880610+AshGDS@users.noreply.github.com> Date: Thu, 28 Sep 2023 14:53:28 +0100 Subject: [PATCH] Change GA4 type for show/hide updates accordions --- app/views/components/_published_dates.html.erb | 2 +- app/views/content_items/service_manual_guide.html.erb | 2 +- test/components/published_dates_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/components/_published_dates.html.erb b/app/views/components/_published_dates.html.erb index a445f382b..0ce172f55 100644 --- a/app/views/components/_published_dates.html.erb +++ b/app/views/components/_published_dates.html.erb @@ -26,7 +26,7 @@ data-expanded="false" data-toggled-text="- <%= t('components.published_dates.hide_all_updates', locale: :en) %>" data-module="ga4-event-tracker" - data-ga4-event="<%= {event_name: "select_content", type: "content", section: "Footer"}.to_json %>" + data-ga4-event="<%= {event_name: "select_content", type: "content history", section: "Footer"}.to_json %>" data-ga4-expandable >+ <%= t('components.published_dates.show_all_updates', locale: :en) %>