1. Collections Component Guide
  2. Back link
  3. With data attributes
Back link example

With data attributes

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/back_link", {
  href: "#",
  data_attributes: {
    tracking: "GT-1234"
  }
} %>