diff --git a/app/views/content_items/detailed_guide.html.erb b/app/views/content_items/detailed_guide.html.erb index 10093c02c1..27bc6f2311 100644 --- a/app/views/content_items/detailed_guide.html.erb +++ b/app/views/content_items/detailed_guide.html.erb @@ -92,9 +92,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 2, section: 'Content', }, diff --git a/app/views/content_items/guide.html+print.erb b/app/views/content_items/guide.html+print.erb index 1092ac3996..1101d48566 100644 --- a/app/views/content_items/guide.html+print.erb +++ b/app/views/content_items/guide.html+print.erb @@ -29,9 +29,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 2, section: 'Content', }, @@ -62,9 +60,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 2, - }, + index_link: 2, index_total: 2, section: 'Footer', }, diff --git a/app/views/content_items/html_publication.html.erb b/app/views/content_items/html_publication.html.erb index a93cdbd8c6..0020b544ec 100644 --- a/app/views/content_items/html_publication.html.erb +++ b/app/views/content_items/html_publication.html.erb @@ -70,9 +70,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Content', }, diff --git a/app/views/content_items/manuals/_manual_layout.html.erb b/app/views/content_items/manuals/_manual_layout.html.erb index 6d8330de54..c945bcc3e6 100644 --- a/app/views/content_items/manuals/_manual_layout.html.erb +++ b/app/views/content_items/manuals/_manual_layout.html.erb @@ -23,13 +23,11 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Footer', }, }, - } %> + } %> <% end %> \ No newline at end of file diff --git a/app/views/content_items/manuals/_manual_section_layout.html.erb b/app/views/content_items/manuals/_manual_section_layout.html.erb index dbbf3cd756..fb6bacc031 100644 --- a/app/views/content_items/manuals/_manual_section_layout.html.erb +++ b/app/views/content_items/manuals/_manual_section_layout.html.erb @@ -40,9 +40,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Footer', }, diff --git a/app/views/content_items/manuals/_updates.html.erb b/app/views/content_items/manuals/_updates.html.erb index f2d2fa22fb..b2ef3667ae 100644 --- a/app/views/content_items/manuals/_updates.html.erb +++ b/app/views/content_items/manuals/_updates.html.erb @@ -65,9 +65,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 1, section: 'Footer', }, diff --git a/app/views/content_items/travel_advice.html+print.erb b/app/views/content_items/travel_advice.html+print.erb index e41a1182a5..010433d61b 100644 --- a/app/views/content_items/travel_advice.html+print.erb +++ b/app/views/content_items/travel_advice.html+print.erb @@ -28,9 +28,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 1, - }, + index_link: 1, index_total: 2, section: 'Content', }, @@ -62,9 +60,7 @@ ga4_event: { event_name: 'print_page', type: 'print page', - index: { - index_link: 2, - }, + index_link: 2, index_total: 2, section: 'Footer', }, diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index 1897de70e8..7e741f105a 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -19,18 +19,18 @@ <%= render "govuk_publishing_components/components/govspeak", { } do %> <% @content_item.alert_status.each do |text| %> - <%= render "govuk_publishing_components/components/warning_text", - text: text - %> + <%= render "govuk_publishing_components/components/warning_text", + text: text + %> <% end %> <% end %>