Skip to content

Commit

Permalink
Remove unneeded instances of ga4_tracking: true
Browse files Browse the repository at this point in the history
- all components referenced now have tracking enabled by default, and this option has been removed
  • Loading branch information
andysellick committed Nov 20, 2023
1 parent 610e36d commit ca70465
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/views/root/_error_page.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
link: @emergency_banner.link,
link_text: @emergency_banner.link_text,
short_description: @emergency_banner.short_description,
ga4_tracking: true,
}
end
user_satisfaction_survey = '<div id="user-satisfaction-survey-container"></div>'
Expand Down
4 changes: 0 additions & 4 deletions app/views/root/_gem_base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
link_text: @emergency_banner.link_text,
short_description: @emergency_banner.short_description,
homepage: homepage,
ga4_tracking: true,
}
end

Expand All @@ -41,9 +40,6 @@
<%= render "govuk_publishing_components/components/layout_for_public", {
account_nav_location: account_nav_location,
**(defined?(blue_bar) ? {blue_bar: blue_bar,} : {}),
cookie_banner_data: {
ga4_tracking: true,
},
draft_watermark: draft_environment,
emergency_banner: emergency_banner.presence,
full_width: full_width,
Expand Down

0 comments on commit ca70465

Please sign in to comment.