diff --git a/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md b/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md
index 319cdda910f83a02b3b107198b78c0429704b0e6..174fd48b73e879e4b5d32358118433f43643ac01 100644
--- a/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md
+++ b/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md
@@ -197,6 +197,7 @@ you can use the `internal_event_tracking` shared example.
 ```ruby
 it_behaves_like 'internal event tracking' do
   let(:event) { 'update_issue_severity' }
+  let(:category) { described_class.name }
   let(:project) { issue.project }
   let(:user) { issue.author }
   let(:additional_properties) { { label: issue.issueable_severity } }
diff --git a/scripts/internal_events/cli/flows/usage_viewer.rb b/scripts/internal_events/cli/flows/usage_viewer.rb
index e131bbf4ffa36da8c55e80968acc9c3dfb5cd988..d7752e828b8d6fd0ca33beb42e70a784fffbdaca 100755
--- a/scripts/internal_events/cli/flows/usage_viewer.rb
+++ b/scripts/internal_events/cli/flows/usage_viewer.rb
@@ -157,6 +157,7 @@ def rspec_examples
 
           it_behaves_like 'internal event tracking' do
             let(:event) { '#{action}' }
+            let(:category) { described_class.name }
           #{args}end
 
           #{divider}
diff --git a/spec/scripts/internal_events/cli/flows/usage_viewer_spec.rb b/spec/scripts/internal_events/cli/flows/usage_viewer_spec.rb
index b474498ce2aecdba2bd23ca1d31109bbda473bf6..919a927a677847cc843a894e5e75fe30292b95dd 100644
--- a/spec/scripts/internal_events/cli/flows/usage_viewer_spec.rb
+++ b/spec/scripts/internal_events/cli/flows/usage_viewer_spec.rb
@@ -53,6 +53,7 @@
 
       it_behaves_like 'internal event tracking' do
         let(:event) { 'internal_events_cli_used' }
+        let(:category) { described_class.name }
         let(:project) { create(:project) }
         let(:user) { create(:user) }
       end
@@ -156,6 +157,7 @@
 
       it_behaves_like 'internal event tracking' do
         let(:event) { 'internal_events_cli_used' }
+        let(:category) { described_class.name }
         let(:project) { create(:project) }
         let(:user) { create(:user) }
       end
@@ -257,6 +259,7 @@
 
       it_behaves_like 'internal event tracking' do
         let(:event) { 'internal_events_cli_opened' }
+        let(:category) { described_class.name }
       end
 
       --------------------------------------------------
@@ -557,6 +560,7 @@
 
       it_behaves_like 'internal event tracking' do
         let(:event) { 'internal_events_cli_used' }
+        let(:category) { described_class.name }
         let(:project) { create(:project) }
         let(:user) { create(:user) }
         let(:additional_properties) do