You can use conditions and Ensighten data definitions to make sure an Ensighten Event code is only available in specific publish path(s).
1. Create or modify an existing data definition that extracts the publish path using code in the extractor like:
2. Create or modify appropriate existing conditions to use the data definition from step 1. and configure to specific publish path(s).
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.