diff --git a/app/helpers/service_manual_phase_label_helper.rb b/app/helpers/service_manual_phase_label_helper.rb
index 6e3d65d71..69e70ae23 100644
--- a/app/helpers/service_manual_phase_label_helper.rb
+++ b/app/helpers/service_manual_phase_label_helper.rb
@@ -3,7 +3,6 @@ def render_phase_label(presented_object, message)
if presented_object.respond_to?(:phase) && %w[alpha beta].include?(presented_object.phase)
render "govuk_publishing_components/components/phase_banner",
phase: presented_object.phase,
- ga4_tracking: true,
message:
end
end
diff --git a/app/views/components/_contents_list_with_body.html.erb b/app/views/components/_contents_list_with_body.html.erb
index 4e311a9b3..b8659b4db 100644
--- a/app/views/components/_contents_list_with_body.html.erb
+++ b/app/views/components/_contents_list_with_body.html.erb
@@ -8,7 +8,7 @@
>
<% if contents.any? %>
- <%= render 'govuk_publishing_components/components/contents_list', contents: contents, ga4_tracking: true %>
+ <%= render 'govuk_publishing_components/components/contents_list', contents: contents %>
<% end %>
<%= block %>
diff --git a/app/views/content_items/call_for_evidence.html.erb b/app/views/content_items/call_for_evidence.html.erb
index 5adf825fe..3864d8f1b 100644
--- a/app/views/content_items/call_for_evidence.html.erb
+++ b/app/views/content_items/call_for_evidence.html.erb
@@ -25,7 +25,6 @@
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
- ga4_tracking: true,
} %>
<% end %>
diff --git a/app/views/content_items/consultation.html.erb b/app/views/content_items/consultation.html.erb
index 480d3c046..ce8157993 100644
--- a/app/views/content_items/consultation.html.erb
+++ b/app/views/content_items/consultation.html.erb
@@ -26,7 +26,6 @@
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
- ga4_tracking: true,
} %>
<% end %>
diff --git a/app/views/content_items/detailed_guide.html.erb b/app/views/content_items/detailed_guide.html.erb
index 27bc6f231..ad0365a54 100644
--- a/app/views/content_items/detailed_guide.html.erb
+++ b/app/views/content_items/detailed_guide.html.erb
@@ -79,7 +79,6 @@
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
- ga4_tracking: true,
} %>
<% end %>
diff --git a/app/views/content_items/field_of_operation.html.erb b/app/views/content_items/field_of_operation.html.erb
index 6f3ff574f..cec9fc745 100644
--- a/app/views/content_items/field_of_operation.html.erb
+++ b/app/views/content_items/field_of_operation.html.erb
@@ -15,7 +15,6 @@
<%= render "govuk_publishing_components/components/contents_list", {
contents: @content_item.contents,
- ga4_tracking: true
} %>
<% end %>
diff --git a/app/views/content_items/guide.html.erb b/app/views/content_items/guide.html.erb
index 395706ad4..2c5a4f64c 100644
--- a/app/views/content_items/guide.html.erb
+++ b/app/views/content_items/guide.html.erb
@@ -48,7 +48,7 @@
href: "#guide-contents"
} %>
<% end %>
@@ -73,11 +73,7 @@
<% end %>
<% if @content_item.show_guide_navigation? %>
- <%
- previous_and_next_with_ga4_tracking = { ga4_tracking: true }
- previous_and_next_with_ga4_tracking.merge!(@content_item.previous_and_next_navigation) # @content_item is frozen so we make a new hash
- %>
- <%= render 'govuk_publishing_components/components/previous_and_next_navigation', previous_and_next_with_ga4_tracking %>
+ <%= render 'govuk_publishing_components/components/previous_and_next_navigation', @content_item.previous_and_next_navigation %>
- <%
- previous_and_next_with_ga4_tracking = { ga4_tracking: true }
- previous_and_next_with_ga4_tracking.merge!(@content_item.previous_and_next_links) # @content_item is frozen so we make a new hash
- %>
- <%= render "govuk_publishing_components/components/previous_and_next_navigation", previous_and_next_with_ga4_tracking %>
+ <%= render "govuk_publishing_components/components/previous_and_next_navigation", @content_item.previous_and_next_links %>
<% end %>
\ No newline at end of file
diff --git a/app/views/content_items/how_government_works.html.erb b/app/views/content_items/how_government_works.html.erb
index a0674f853..313c10dc4 100644
--- a/app/views/content_items/how_government_works.html.erb
+++ b/app/views/content_items/how_government_works.html.erb
@@ -62,7 +62,6 @@
text: "History of government",
}
],
- ga4_tracking: true
} %>
diff --git a/app/views/content_items/html_publication.html.erb b/app/views/content_items/html_publication.html.erb
index 0020b544e..3f1f4673c 100644
--- a/app/views/content_items/html_publication.html.erb
+++ b/app/views/content_items/html_publication.html.erb
@@ -52,7 +52,6 @@
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
- ga4_tracking: true,
} %>
<% end %>
@@ -60,7 +59,7 @@