The Inspector compares the ingested events and properties against tracking plan and detects if there are any events or properties missing from the tracking plan. Unknown events and properties can both be added to the tracking plan from both the Issues view and the Events view.
When an event is missing from the tracking plan the issue details will offer you to quickly add it to the tracking plan. Click the "Add to Tracking Plan" button and the event and all it's properties are created.
If the Inspector detects an event that is not in your tracking plan, it will be highlighted with a red tracking plan icon next to the name, along with an "Add" button to add it to your tracking plan. The events view sidebar also has an option to add the event right from there. Click either button to add the event and all it's properties to the tracking plan.
If the Inspector detects a property that is not in you tracking plan, the issue type "Unexpected Property" is presented. The issues view can be filtered by issue type, so when that filter is applied you get a good overview over all unexpected properties.
In the issue details, you will always be able to see whether the event or property is currently in the tracking plan and you get an option to add it if it's not. Click the "Add to tracking plan" button by the property name to add it to your tracking plan.
Clicking on the event name cell will expand it such that all the properties that were detected in this particular event are shown. If a property is missing from the tracking plan for that particular event, it is highlighted with a red tracking plan icon next to the property name, along with an "Add" button to add it to your tracking plan. The sidebar in the events view also has an option to add the property to the tracking right from there. Click either button to add the event and all it's properties to the tracking plan. There are two cases for adding property to the event in the tracking plan:
Before creating the event, the Inspector will first validate the event name against all events in the tracking plan, to determine if the event might already exist with different casing. If that happens, a confirm dialog pops up showing the user that the Inspector found an existing event with the same name.
Adding the event to the tracking plan will create the Event and do the following:
Adding a Property directly from the inspector will create the Property and do the following: