Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/remove-whatfix-javascript-from-salesforce-community

# Remove Whatfix JavaScript from Salesforce Community

If you want to stop showing Whatfix content on Salesforce Community, you must remove the Whatfix Javascript added to the header of every community page.

> [!WARNING]
>
> Only Salesforce Lightning Admins can perform the following action.

Use the following steps to remove Whatfix JavaScript from the Salesforce community:

1. Open Community Builder in Salesforce Lightning.

![SF\_community\_builder](/images/57/SF_community_builder-57a05e87.png)
2\. Click the **Settings** icon.

![SF\_community\_settings](/images/07/SF_community_settings-075d2807.png)
3\. Click **Advanced**.![SF\_community\_advanced](/images/35/SF_community_advanced-35a546d2.png)
4\. In the **Head Markup** section, click **Edit Head Markup**.![SF\_community\_edit\_markup](/images/21/SF_community_edit_markup-218e8e85.png)
5\. In the **Head Markup** dialog box, remove the Whatfix JavaScript code, and then click **Save**.

![SBC\_head-popup](/images/f5/SBC_head-popup-f50fb939.png)
6\. In the **Settings** menu, click **Security**.![SF\_community\_security](/images/73/SF_community_security-73b8ac2c.png)
7\. In the **Content Security Policy (CSP)** section, under **Security Level**, click the dropdown, and then select **Strict CSP: Block Access to Inline Scripts and All Hosts (Recommended)**.

![csp\_in\_salesforce\_community](/images/80/csp_in_salesforce_community-80157d84.png)
8\. Under **Trusted Sites for Scripts**, go to the Site URL, **<https://whatfix.com>**, and then click the dropdown.![click\_dropdown](/images/c5/click_dropdown-c5b6c0c6.png)
9\. Select **Delete**.![click\_delete\_url\_salesforce\_community](/images/e6/click_delete_url_salesforce_community-e680472d.png)
10\. Similarly, delete the following domains as shown in steps 8 and 9.

<https://cdn.whatfix.com>

<https://www.google-analytics.com> (Optional only for Custom GA integration)

<https://analytics.google.com> (Optional only for Custom GA integration)

> [!WARNING]
>
> After performing the above-mentioned steps, check if any Whatfix content is still appearing on the application. Contact [support@whatfix.com](mailto:support@whatfix.com?subject=Unable%20to%20remove%20script%20in%20Salesforce%20Community\&body=Hi%20team%2C%0A%0AI'm%20unable%20to%20remove%20Whatfix%20JavaScript%20in%20Salesforce%20Community.%20Please%20help.) if you face any issues.

## Related

- [Salesforce Lightning Integration](/web/salesforce-integration-1)
