How to exclude certain events from Auto-capture

How to exclude some auto-captured events from tracking

Welcome to our guide on excluding auto-captured events from specific sections or containers on your website. Leveraging this feature ensures that you have granular control over what is being tracked, thereby optimizing your data collection process.

To achieve this, the class .um-no-capture has been integrated to offer a simplified method to exclude undesired auto-captured events.

How to use the “um-no-capture” class

Here's how you can do it:

  1. Begin by identifying the section or container from which you wish to exclude auto-captured events within your website's source code.

  2. Once identified, apply the um-no-capture class to the desired section or container. This can be easily accomplished by adding it to the class attribute of the corresponding HTML element.

    <div class="your-class um-no-capture"> ... </div>

    Example: Suppose you want to exclude auto-captured events from the main design editor. Simply apply the um-no-capture class to the main design editor's class, ensuring events within that container aren't tracked.

By following this, you can effectively manage which section of your website is included in auto-captured event tracking, ensuring more accurate and relevant data collection.

💡

Note: After implementing the "um-no-capture" class, all events within that section or container will be automatically exempted from being tracked by the pixel.