1. Collections Component Guide
  2. Button
  3. Start now button without ga4 attributes
Button example

Start now button without ga4 attributes

By default the start now button version of this component includes a data-ga4-attributes attribute that is used by the specialist (external) link tracker to uniquely identify start now buttons. This attribute can be removed using the disable_ga4 option.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/button", {
  text: "Start now",
  disable_ga4: true,
  href: "#",
  start: true,
  rel: "external"
} %>