Devolved Nations (experimental) example

Without ga4 tracking

Disables GA4 tracking on the banner. Tracking is enabled by default. This includes link tracking on the component itself, and allows pageviews to record the presence of the banner on page load.

How it looks (preview)

Applies to England, Scotland and Wales

How to call this example

<%= render "govuk_publishing_components/components/devolved_nations", {
  national_applicability: {
    england: {
      applicable: true
    },
    scotland: {
      applicable: true
    },
    wales: {
      applicable: true
    },
    northern_ireland: {
      applicable: false,
      alternative_url: "/"
    }
  },
  type: "detailed_guide",
  ga4_tracking: true
} %>