--- title: "Can I edit the Page View completion rule for User Actions?" slug: "can-i-edit-the-page-view-completion-rule-for-user-actions" updated: 2025-11-28T06:30:09Z published: 2025-11-28T06:30:09Z canonical: "support.whatfix.com/can-i-edit-the-page-view-completion-rule-for-user-actions" --- > ## 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. # Can I edit the Page View completion rule for User Actions? Yes, Whatfix enables you to edit the URL added as part of the Page View completion rule for User Actions. You may need to edit the Page View URL due to the following reasons: - The base URL stays the same, but the parameters change. For example, tracking visits to a common Leads page regardless of the specific lead selected. > [!NOTE] > Info: > > For example, if you want to track how many users visit the Leads page in Salesforce (lightning.force.com/leads), you can create a User Action with the completion rule set to **Page View**. > > ![user_action_page_view_url_example.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_page_view_url_example.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > > Since the URL changes when users open individual leads based on the Lead ID, you can edit the Page View URL to track visits to the main Leads page, regardless of which specific lead is accessed. > > ![user_action_edited_page_view_example.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_edited_page_view_example.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) - You created the User Action in a test environment and want to track visits in the production environment. - The page URL has changed after the User Action is created. ![user_action_page_view_completion_rule.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_page_view_completion_rule.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > [!WARNING] > Note: > > When you set the completion rule as Page View for a User Action, the User Action is marked as complete when the page or URL on which the User Action is created loads. Expand the following accordions for more details. ****Edit the Page View URL while creating a User Action**** Use the following steps to edit the Page View URL while creating a User Action: 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%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 1. Click **User Action**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/studio_click_ua.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 2. Click **+ Create user action**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/studio_click_create_ua.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 3. Select any UI element on the page. ![ua_select_ui_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ua_select_ui_element.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 4. Review and edit the name of the User Action. ![user_action_edit_us_name.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_edit_us_name.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 5. Under **Configurations**, select the User Action completion rule as **Page View** from the dropdown. ![user_action_select_page_view_completion_rule.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_select_page_view_completion_rule.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 6. Click **Advanced Options**. ![user_action_click_advanced_options.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_click_advanced_options.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 7. Under **Display Rules**, click the **Delete** icon. ![user_actions_click_delete_display_rules.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_actions_click_delete_display_rules.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 8. Click **Add Rule**. ![ua_advanced_options_display_rules_add_rule.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ua_advanced_options_display_rules_add_rule.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 9. Set the required [URL rules](/studio/docs/url-condition-rules) (URL, URL Hostname, URL Path, URL Parameters, and URL Hash) to mark the User Action complete when the page or URL on which the User Action is created loads. ![user_action_edit_url_display_rules.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_edit_url_display_rules.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 10. Click **Save Action**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/studio_ua_save_action.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > [!WARNING] > Note: > > [Push the User Action to Production](/product-analytics/docs/publish-user-actions) to start capturing data. ****Edit the Page View URL after creating a User Action**** Use the following steps to edit the Page View URL after creating a User Action: 1. On the [Whatfix Analytics dashboard](/product-analytics/docs/how-can-i-access-the-product-analytics-dashboard), click **Tracking**. ![ia_left%20nav_tracking](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left%20nav_tracking.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 2. Click **Events**. ![ia_pa_tracking_events](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_pa_tracking_events.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 1. In the **User Actions** section, hover your cursor over the User Action you want to edit and then click the **Edit** icon. ![user_actions_click_edit_icon.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_actions_click_edit_icon.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > [!WARNING] > Note: > > The User Action edit screen opens. > > ![user_action_page_view_edit_screen.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_page_view_edit_screen.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 2. Click **Launch live edit**. ![user_action_page_view_launch_live_edit.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_page_view_launch_live_edit.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > [!NOTE] > Info: > > - If you've made any changes on the edit screen in the dashboard, click **Save and go** to save your changes and open Studio on the application page. > > ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/save_and_go_to_open_studio_to_edit_user_action.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > - Click **Discard changes** to discard any changes and open Studio on the application page. 3. Once the application launches on Studio, click the User Action you want to edit. ![user_action_edit_click_ua_to_edit.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_edit_click_ua_to_edit.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 4. Click **Advanced Options**. ![user_action_click_advanced_options.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_click_advanced_options.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 5. Under **Display Rules,** click the **Delete** icon. ![user_actions_click_delete_display_rules.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_actions_click_delete_display_rules.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 6. Click **Add Rule**. ![ua_advanced_options_display_rules_add_rule.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ua_advanced_options_display_rules_add_rule.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 7. Set the required [URL rules](/studio/docs/url-condition-rules) (URL, URL Hostname, URL Path, URL Parameters, and URL Hash). ![user_action_edit_url_display_rules.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_edit_url_display_rules.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) 8. Click **Save Action**. ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/studio_ua_save_action.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A34%3A50Z&se=2026-11-12T08%3A34%3A50Z&sr=c&sp=r&sig=9F9BcNbtmHO5%2BBrpgUkXRp1HianXlaiwn8CXHx6DFjI%3D) > [!WARNING] > Note: > > After editing a User Action, ensure that you [push the User Action back to Production](/product-analytics/docs/publish-user-actions) to start capturing the engagement data.