Skip to content

Commit

Permalink
Merge pull request #3148 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 authored Sep 5, 2023
2 parents 50ff046 + caf4097 commit c704cbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/email_alert_subscriptions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<% end %>
<% if @signup_presenter.beta? %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta" %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta", ga4_tracking: true %>
<% end %>

<div class="govuk-width-container">
Expand Down
2 changes: 1 addition & 1 deletion app/views/finders/_show_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="govuk-width-container">
<% if content_item.show_phase_banner? %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: content_item.phase, message: sanitize(content_item.phase_message), inverse: inverse %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: content_item.phase, message: sanitize(content_item.phase_message), inverse: inverse, ga4_tracking: true %>
<% end %>
<% if @breadcrumbs.breadcrumbs %>
Expand Down

0 comments on commit c704cbb

Please sign in to comment.