Manage Events that us the All Pages - Non-blocking (Asynchronous) condition will be made available to all tags in all Spaces. If you have a Space that does not have a tag that uses this Event, the code will still be delivered to that Space's publish path.
You can use Ensighten conditions and Ensighten data definitions to make sure an Ensighten Event code is only available in specific publish path(s).
Step 1. Create or modify an existing data definition that extracts the publish path using code in the extractor like:
Step 2. Create or modify appropriate existing conditions to use the data definition from Step 1. and configure to specific publish path(s).
Step 3. For publish path specific events, using the condition from Step 2 when defining your event conditions.
The new event is now limited to the publish path(s) you defined using the steps above.