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) %>
diff --git a/app/views/content_items/service_manual_guide.html.erb b/app/views/content_items/service_manual_guide.html.erb index 6e716c6b0..195f50180 100644 --- a/app/views/content_items/service_manual_guide.html.erb +++ b/app/views/content_items/service_manual_guide.html.erb @@ -111,7 +111,7 @@ data-toggled-text="- Hide all page updates (<%= @content_item.previous_changes.length %>)" data-expanded="false" 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 role="button" aria-controls="full-history" diff --git a/test/components/published_dates_test.rb b/test/components/published_dates_test.rb index c053e7765..642e35263 100644 --- a/test/components/published_dates_test.rb +++ b/test/components/published_dates_test.rb @@ -101,7 +101,7 @@ def component_name expected_ga4_json = { "event_name": "select_content", - "type": "content", + "type": "content history", "section": "Footer", }.to_json