Previous and next navigation example

Without ga4 tracking

Disables the GA4 link tracker on the links. Tracking is enabled by default.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/previous_and_next_navigation", {
  disable_ga4: true,
  previous_page: {
    url: "previous-page",
    title: "Previous",
    label: "Applying for a provisional lorry or bus licence"
  },
  next_page: {
    url: "next-page",
    title: "Next",
    label: "Driver CPC part 1 test: theory"
  }
} %>