Skip to content

Commit

Permalink
Merge pull request #3790 from alphagov/ga4-intervention-banner-deploy
Browse files Browse the repository at this point in the history
Enable GA4 tracking on the intervention banner
  • Loading branch information
AshGDS authored Oct 4, 2023
2 parents 6669498 + a55067f commit 6294499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/homepage/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
suggestion_link_text: t("homepage.index.user_research_banner_link_text"),
suggestion_link_url: t("homepage.index.user_research_banner_link_href"),
new_tab: true,
ga4_tracking: true,
} %>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
suggestion_link_text: "Sign up to take part in user research",
suggestion_link_url: publication.recruitment_survey_url,
new_tab: true,
ga4_tracking: true,
} %>
<% elsif publication && publication.in_beta %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta", ga4_tracking: true %>
Expand Down

0 comments on commit 6294499

Please sign in to comment.