1. Collections Component Guide
  2. Step by step navigation header
  3. With custom tracking
Step by step navigation header example

With custom tracking

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/step_by_step_nav_header", {
  title: "With a custom tracking",
  path: "#",
  tracking_category: "customTrackingCategoryClicked",
  tracking_action: "customTrackingAction",
  tracking_label: "customTrackingLabel",
  tracking_dimension: "customTrackingDimension",
  tracking_dimension_index: "23"
} %>