Add documentation for InternalEventsTracking module
What does this MR do and why?
In !142658 (merged) we introduced a module that automatically sets the category of Snowplow events based on where the track method is called.
This MR updates the documentation and the usage examples of the generator to use the module instead of the InternalEvents.track_event
method.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
To test the changes to the generator:
- Start the generator: ruby scripts/internal_events/cli.rb
- Select
3. View Usage
- Select an event
- Select
1. ruby/rails
- Verify that the example is using the module.
Related to #435200 (closed)
Edited by Jonas Larsen