---
title: "Remove Whatfix JavaScript from Salesforce Community"
slug: "remove-whatfix-javascript-from-salesforce-community"
updated: 2024-11-04T22:06:36Z
published: 2024-11-04T22:06:36Z
---

> ## 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.

# 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]
> Your title goes here
> 
> 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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_community_builder.png)
2. Click the **Settings**icon.

![SF_community_settings](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_community_settings.png)
3. Click **Advanced**.![SF_community_advanced](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_community_advanced.png)
4. In the **Head Markup** section, click **Edit Head Markup**.![SF_community_edit_markup](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_community_edit_markup.png)
5. In the **Head Markup** dialog box, remove the Whatfix JavaScript code, and then click **Save**.

![SBC_head-popup](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SBC_head-popup.png)
6. In the **Settings** menu, click **Security**.![SF_community_security](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_community_security.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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/csp_in_salesforce_community.png)
8. Under **Trusted Sites for Scripts**, go to the Site URL, **https://whatfix.com**, and then click the dropdown.![click_dropdown](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/click_dropdown.png)
9. Select **Delete**.![click_delete_url_salesforce_community](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/click_delete_url_salesforce_community.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]
> Your title goes here
> 
> 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&amp;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](/salesforce-integration-1.md)
