Skip to content

Commit

Permalink
Add scroll tracking to finders
Browse files Browse the repository at this point in the history
- adds scroll tracking module to the base template for all finders
- uses the default scroll track mode of tracking percentage scrolled, every 20%
  • Loading branch information
andysellick committed Jul 26, 2023
1 parent 6ad2d22 commit e56c46c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/finder_layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<meta name="robots" content="noindex">
<% end %>
<meta name="govuk:base_title" content="<%= yield :meta_title %> - GOV.UK">
<meta name="govuk:scroll-tracker" content="" data-module="ga4-scroll-tracker"/>
<%= yield :meta_tags %>
</head>

Expand Down

0 comments on commit e56c46c

Please sign in to comment.