Skip to content

Commit

Permalink
Merge pull request #3746 from alphagov/deploy-ga4-tracking
Browse files Browse the repository at this point in the history
Enable GA4 tracking on the phase banner
  • Loading branch information
andysellick committed Sep 5, 2023
2 parents 99c9075 + 3edee00 commit 4f5d419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
new_tab: true,
} %>
<% elsif publication && publication.in_beta %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta" %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta", ga4_tracking: true %>
<% end %>
<% unless current_page?(root_path) || !(publication || @calendar) %>
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: content_item_hash, ga4_tracking: true %>
Expand Down

0 comments on commit 4f5d419

Please sign in to comment.