From e773bf22dc0f40dc1b055676cf10a572398dacbb Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Mon, 30 Oct 2023 14:37:36 +0000 Subject: [PATCH] Remove scroll tracking - removes scroll tracking from several guides --- app/views/content_items/guide.html.erb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/views/content_items/guide.html.erb b/app/views/content_items/guide.html.erb index 27fdb0ee2..395706ad4 100644 --- a/app/views/content_items/guide.html.erb +++ b/app/views/content_items/guide.html.erb @@ -21,12 +21,6 @@ "/apply-to-come-to-the-uk", ] - ga4_scroll_track_headings_paths = [ - "/skilled-worker-visa/your-partner-and-children", - "/penalty-points-endorsements/endorsement-codes-and-penalty-points", - "/universal-credit/other-financial-support", - ] - full_url = [@content_item.base_path, @content_item.part_slug].compact.join('/') %> <% if scroll_track_headings_paths.include?(full_url) %> @@ -34,10 +28,6 @@ <% elsif scroll_track_percent_paths.include?(@content_item.base_path) %> <% end %> - - <% if ga4_scroll_track_headings_paths.include?(full_url) %> - - <% end %> <% end %> <% unless @content_item.requesting_a_part? %>