--- title: "Capture Event Attributes" slug: "capture-event-attributes" tags: ["collect related information"] updated: 2026-10-19T07:30:39Z published: 2026-10-19T07:30:39Z canonical: "support.whatfix.com/capture-event-attributes" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # Capture Event Attributes Event Attributes enable you to capture additional contextual information with events to help with analysis and decision-making. For example, along with a button click event, you can capture additional attributes that give the event context. These attributes include the page URL, the page title, and the button text. You can also capture other attributes from the application. > [!WARNING] > Note: > > **Capturing Event Attributes** is a **Beta** feature. To enable this feature, contact [support@whatfix.com](mailto:support@whatfix.com?Subject=Enable%20Event%20Attributes%20for%20my%20account&Body=Hi%20team%2C%0A%0AKindly%20enable%20Event%20Attributes%20for%20my%20account.). Use the following steps to capture event attributes: 1. Log in to your application, and then launch the **[Whatfix Studio](/studio/docs/how-to-install-the-whatfix-editor)**. ![CLM_editor plug in2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/CLM_editor%20plug%20in%282%29.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 1. In the **Events** section, click **Track event**. ![Track_event.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Track_event.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > Click **Refresh page** to ensure Preview Mode is enabled. ![Click_Refresh_page.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_Refresh_page.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 2. Click **Track new event**. ![Click_track_new_event.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_track_new_event.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 3. On your application, select the element you want to track. ![Track_event_panel.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Track_event_panel.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 4. Review the event name, and then edit it if required. ![Click_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_element.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > Whatfix names the event based on the element, for example, **Click ‘Opportunities’**. Choose a name that makes the event easy to find on the [**Whatfix Analytics dashboard**](/product-analytics/docs/how-can-i-access-the-product-analytics-dashboard). 5. From the **Trigger** dropdown, select the action that end users perform on the element. For more information, see [What are User Action Completion Rules?](/product-analytics/docs/what-are-user-action-completion-rules) ![Trigger_dropdown..png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Trigger_dropdown..png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 6. To add a tag, click **Add tag**. This step is optional. ![Add_tag.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Add_tag.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > - Select the [tag](https://support.whatfix.com/docs/what-is-segmentation) from the dropdown and then click **Done**. ![Click_done.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_done(2).png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > - If the tag does not exist, type in the name of the tag and hit the **Enter** key to create a new tag. 7. In **Review selected element**, click **Preview** icon to verify the element. ![Click_preview.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_preview(1).png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > Select the **Hide Preview** icon to stop highlighting the selected element on the application. ![View_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/View_element.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 8. To select a different element, click **Reselect element**. ![Reselect_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Reselect_element(1).png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 9. In **Choose tracking mode**, select one of the following options: ![Choose_tracking_mode.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Choose_tracking_mode.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 1. **Default tracking**: Whatfix decides how to track the element. Default tracking includes past click data for the element, so you can analyze clicks that happened before you saved the event. > [!NOTE] > Info: > > - Click **View element selectors** to view the selector Whatfix uses for **Default tracking**. ![Click_view_selector.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_view_selector.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > - If Whatfix cannot identify the element clearly, Whatfix displays a message. In that case, select **Advanced tracking**. 2. **Advanced tracking**: You define where and how to track the element. Advanced tracking doesn’t include historical data. 10. Select **Advanced tracking** and click **Confirm** in the **Switch to advanced tracking?** dialog box. ![Click_Confirm.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_Confirm.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > Tracking for the event starts on the day you save and publish the event. 11. Under **Advanced tracking**, click **Element precision**. ![Element_precision.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Element_precision.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 12. From the **How would you like to identify the element?** dropdown, select **Using CSS selector**, **Using jQuery selector**, or **Using element text**. For more information, see [Identify an element's CSS selector](https://support.whatfix.com/docs/identify-an-elements-css-selector). ![element_precision_dropdown.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/element_precision_dropdown.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > Whatfix adds the **Default tracking** selector as the first element precision rule. 13. Enter the **Value**. ![add_value.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/add_value.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > To add more conditions, click **Add condition**. ![click_add_condition.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/click_add_condition.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 14. Click **Save** **rule**. ![Click_rule_event.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_rule_event.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 15. Under **Advanced tracking**, click **Visibility rules**. ![Visibility_rules.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Visibility_rules.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 16. From the **Show on** dropdown, select any option. For more information, see [Understand New Visibility Rules for Content](https://support.whatfix.com/docs/understand-advanced-visibility-rules-for-content). ![Visibility_rule_show_on.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Visibility_rule_show_on.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 17. Select the operator from the dropdown. ![Select_operator.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Select_operator.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 18. Enter the required **Domain** name. For example, **Whatfix**. ![Add_visibility_rule.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Add_visibility_rule.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > To add more conditions, click **Add condition**. > > ![Add_condition_visibility_rule.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Add_condition_visibility_rule.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 19. Click **Save rule**. ![Click_rule_event.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_rule_event.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 20. Under **Collect more information,** click the **Expand** icon . ![Collect_more_info.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Collect_more_info.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 21. Click **Select element**. ![Select_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Select_element(2).png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 22. On your application, select the element whose value you want to capture. ![select_event.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/select_event.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 23. In the **Collect information from this page** dialog box, enter a name for the attribute.![Enter_property_name.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Enter_property_name.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Inbox: > > Each attribute name must be unique within an event. 24. To encrypt the value, select **Encrypt personal identifiable info (PII)**. ![Click_pii_checkbox.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_pii_checkbox.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!WARNING] > Note: > > - Encrypt any value that contains Personally Identifiable Information (PII). > - For [Page View-based User Actions](/product-analytics/docs/what-are-user-action-completion-rules), Whatfix does not enable you to capture related information from the same element. This is because the User Action involves no interaction with a UI element. However, you can still capture related information from the associated elements. 25. Click **Save**. ![Click_save_attribute.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_save_attribute.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!NOTE] > Info: > > Click **Save and add another** to capture another attribute. ![save and add another.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/save%20and%20add%20another.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) 26. Click **Save**. ![Click_save.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_save(3).png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > [!WARNING] > Note: > > - The attribute appears under **Collect more information**. To preview, edit, or delete the attribute click the icons next to it. ![Icons_capture_attribute.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Icons_capture_attribute.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A25%3A26Z&se=2026-11-12T08%3A25%3A26Z&sr=c&sp=r&sig=PLt7TlLqTm7CFYVI8UMkhO6eZgpuaw%2Bu62G4d%2FhxAFU%3D) > - Add up to 10 Event Attributes per User Action. > - View the saved event attribute on the [**Whatfix Analytics dashboard**](/product-analytics/docs/how-can-i-access-the-product-analytics-dashboard), go to **Tracking** and then click **Events** to view the event with its attributes. > - Use event attributes in Insights. For more information, see [Add Event Attributes to Trend Insights](/product-analytics/docs/add-event-attributes-to-insights). The feature release stage in which functionality is made available to a limited group of users for testing and feedback. Beta features are generally stable but may still undergo changes before becoming Generally Available (GA). Personally Identifiable Information (PII) is any information that can be used to identify an individual, such as: Names, addresses, social security numbers, telephone numbers, email addresses, bills, receipts, birth certificates, and lease information. Whatfix User Actions enable you to track your end users' actions and behavior on your application ## Related - [Add Event Attributes to Trend Insights](/add-event-attributes-to-insights.md)