Skip to content

Commit

Permalink
Merge pull request #2935 from alphagov/ga4-see-all-updates-fix
Browse files Browse the repository at this point in the history
Remove GA4 link tracking from certain 'See all updates' links
  • Loading branch information
AshGDS authored Sep 27, 2023
2 parents 041671b + 89b5094 commit 0bcdf34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/shared/_publisher_metadata_with_logo.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<%
metadata_component_options = @content_item.publisher_metadata
metadata_component_options[:margin_bottom] = 3 if @notification_button_visible
# The metadata component on this page receives ga4_tracking: true as it has a 'See all updates' link.
metadata_component_options[:ga4_tracking] = true
%>
<div class="govuk-grid-row">
<div class="metadata-logo-wrapper<%= ' responsive-bottom-margin' if @content_item.try(:logo) %>">
Expand Down

0 comments on commit 0bcdf34

Please sign in to comment.