Contextual breadcrumbs example

Without ga4 tracking

Disables GA4 tracking. Tracking is enabled by default. This includes GA4 tracking on the step by step nav header component when it is rendered as a breadcrumb. See the ga4-link-tracker documentation for more information.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/contextual_breadcrumbs", {
  disable_ga4: true,
  content_item: {
    title: "A content item",
    links: {
      part_of_step_navs: [
        {
          title: "Learn to drive a car: step by step",
          base_path: "/micropigs-vs-micropugs"
        }
      ]
    }
  }
} %>