From 52dc116476e989d09e922c4a6be3d22ec0c62e6d Mon Sep 17 00:00:00 2001 From: James Chan Date: Fri, 24 Feb 2023 17:13:19 +0000 Subject: [PATCH] Enable GA4 tracking on super breadcrumb --- app/views/layouts/application.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index c54739613..53d8d92e4 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -58,7 +58,7 @@ <% if @content_item.try(:back_link) %> <%= render 'govuk_publishing_components/components/back_link', href: @content_item.back_link %> <% else %> - <%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: @content_item.parsed_content_item %> + <%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: @content_item.parsed_content_item, ga4_tracking: true %> <% end %> <% end %>