diff --git a/app/components/admin/editions/first_published_at_component.html.erb b/app/components/admin/editions/first_published_at_component.html.erb index 1c767044b94..6590481d530 100644 --- a/app/components/admin/editions/first_published_at_component.html.erb +++ b/app/components/admin/editions/first_published_at_component.html.erb @@ -14,6 +14,11 @@ label: "This document has previously been published on another website", value: true, checked: previously_published, + data_attributes: { + track_category: "checkboxClicked", + track_label: "This document has previously been published on another website", + track_action: "first_published_at", + }, conditional: capture do first_published_at_fields end,