Without ga4 tracking on part of step by step heading(s)
Disables GA4 tracking on the “Part of” step by step heading(s) in the sidebar. Tracking is enabled by default. Currently only the Related Navigation component, Step by Step navigation component and Ukraine CTA accept this option.
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/contextual_sidebar", {
disable_ga4: true,
content_item: {
links: {
part_of_step_navs: [
{
title: "Choosing a micropig or micropug: step by step",
base_path: "/micropigs-vs-micropugs"
},
{
title: "Walk your micropig: step by step",
base_path: "/porgs-step-by-step"
}
]
}
}
} %>