File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 21
21
"/apply-to-come-to-the-uk",
22
22
]
23
23
24
- ga4_scroll_track_headings_paths = [
25
- "/skilled-worker-visa/your-partner-and-children",
26
- "/penalty-points-endorsements/endorsement-codes-and-penalty-points",
27
- "/universal-credit/other-financial-support",
28
- ]
29
-
30
24
full_url = [@content_item.base_path, @content_item.part_slug].compact.join('/')
31
25
%>
32
26
<% if scroll_track_headings_paths.include?(full_url) %>
33
27
<meta name ="govuk:scroll-tracker " content ="" data-module ="auto-scroll-tracker " data-track-type ="headings "/>
34
28
<% elsif scroll_track_percent_paths . include? ( @content_item . base_path ) %>
35
29
< meta name ="govuk:scroll-tracker " content ="" data-module ="auto-scroll-tracker "/>
36
30
<% end %>
37
-
38
- <% if ga4_scroll_track_headings_paths . include? ( full_url ) %>
39
- < meta name ="govuk:scroll-tracker " content ="" data-module ="ga4-scroll-tracker " data-ga4-track-type ="headings "/>
40
- <% end %>
41
31
<% end %>
42
32
43
33
<% unless @content_item . requesting_a_part? %>
You can’t perform that action at this time.
0 commit comments