# Ignoring sensitive data

Crunch provides certain data attributes that can be passed to your elements directly. These data attributes will help you control what we capture and how we capture is.

1. By default, everything is tracked i.e. all the associated texts are captured for the best analysis possible.
2. By default, no input element values are captured to maintain the privacy.
3. You can give a <mark style="background-color:orange;">data-crunch-capture-input</mark> attribute on input elements on which you want the input data to be captured.
   1. This data will be attributed to the current user on your application.
   2. Use case: If you have a search bar in your application in which users are searching for various keywords for your application, you can capture this data and we will analyze it for you to gain insights into user activity.
4. By default **password** type of input fields **will never be captured** even if you pass <mark style="background-color:orange;">data-crunch-capture-input</mark>
5. You can give a <mark style="background-color:orange;">data-crunch-ignore-content</mark> attribute to not capture the data within that particular element. Any activity inside this element with <mark style="background-color:orange;">data-crunch-ignore-content</mark> will not be captured unless it has <mark style="background-color:orange;">data-crunch-capture-content</mark> provided on a certain element within the ignored parent.
6. <mark style="color:red;">Note: In case an input element does not contain the placeholder value, we will capture the nearest text available and set it as the placeholder value.</mark> <mark style="color:red;background-color:orange;">Data-crunch-ignore-content</mark> <mark style="color:red;">will be discarded in this particular case only to get the placeholder value. The content for other events (apart from input clicks) will still not be captured inside</mark> <mark style="color:red;background-color:orange;">data-crunch-ignore-content</mark><mark style="color:red;">.</mark>
