Skip to content

Commit

Permalink
Add scroll tracking to travel advice
Browse files Browse the repository at this point in the history
- uses the new AutoScrollTracker module, initialised as a meta tag, configured to track headings
  • Loading branch information
andysellick committed Sep 23, 2021
1 parent 38e1a5e commit d308178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/content_items/travel_advice.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
title: @content_item.page_title,
body: @content_item.current_part_body
) %>

<meta name="govuk:scroll-tracker" content="" data-module="auto-scroll-tracker" data-track-type="headings"/>
<% end %>

<div class="govuk-grid-row">
Expand Down

0 comments on commit d308178

Please sign in to comment.