Skip to content

Commit

Permalink
Merge pull request #3896 from alphagov/fix-ga4-duplicate-event
Browse files Browse the repository at this point in the history
Fix GA4 event data on taxon pages
  • Loading branch information
MartinJJones authored Dec 10, 2024
2 parents 2bcba59 + 3a7aec6 commit dca1d5b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= render 'govuk_publishing_components/components/document_list',
disable_ga4: true,
items: section[:documents],
margin_bottom: 7
%>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

<% if section[:documents].any? %>
<%= render 'govuk_publishing_components/components/document_list',
disable_ga4: true,
items: section[:documents_with_promoted],
margin_bottom: 7
%>
Expand Down
1 change: 1 addition & 0 deletions app/views/taxons/sections/_policy_and_engagement.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= render 'govuk_publishing_components/components/document_list',
disable_ga4: true,
items: section[:documents],
margin_bottom: 7
%>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= render 'govuk_publishing_components/components/document_list',
disable_ga4: true,
items: section[:documents],
margin_bottom: 7
%>
1 change: 1 addition & 0 deletions app/views/taxons/sections/_services.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= render 'govuk_publishing_components/components/document_list',
disable_ga4: true,
items: section[:documents],
margin_bottom: 7
%>
1 change: 1 addition & 0 deletions app/views/taxons/sections/_transparency.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= render 'govuk_publishing_components/components/document_list',
disable_ga4: true,
items: section[:documents],
margin_bottom: 7
%>

0 comments on commit dca1d5b

Please sign in to comment.