- 21 Jun 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Whitelist Whatfix domains on Salesforce Lightning
- Updated On 21 Jun 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Whitelisting Whatfix domains on Salesforce Lightning enables Whatfix to communicate with Salesforce Lightning and fetch Whatfix content-related data. If Whatfix domains are not whitelisted, you won't be able to track how your content performs using Whatfix Analytics.
Only Salesforce Lightning Admins can perform the following action.
Use the following steps to whitelist Whatfix domains on Salesforce Lightning:
-
Log in to your Salesforce Lightning account.
-
Click the Settings icon, and then click Setup.
-
In the left pane, click Security.
-
Click CSP Trusted Sites.
-
Click the New Trusted Site button.
-
In the Trusted Site Name field, enter a name for the site. For example, enter WhatfixDomain.
This field does not accept spaces in the name.
You need to whitelist 4 domains and the procedure for each is mentioned.
- Whitelist Google Analytics (GA) domains only if you have it configured for your account.
- For more information on trusted Whatfix domains to whitelist, see What are the trusted Whatfix domains to whitelist?
-
In the Trusted Site URL field, enter https://whatfix.com.
-
In the CSP Directives section, check the Allow site for connect-src and Allow site for frame-src checkboxes as the directives.
By default, the Allow site for connect-src & Allow site for frame-src checkboxes are disabled.
- Click the Save & New button.
{height="96" width="303"}
The CSP Trusted Sites section displays the list of whitelisted Whatfix domains:
-
In the Trusted Site URL field, enter https://cdn.whatfix.com.
-
In the CSP Directives section, check the Allow site for connect-src and Allow site for frame-src checkboxes as the directives.
By default, the Allow site for connect-src & Allow site for frame-src checkboxes are disabled.
- Click the Save & New button.
You can see the list of whitelisted Whatfix domains in the CSP Trusted Sites section.
The following domains also need to be whitelisted if you have configured Google Analytics for your account.
- https://www.google-analytics.com
- https://analytics.google.com
-
In the Trusted Site URL field, enter https://www.google-analytics.com.
-
In the CSP Directives section, check the Allow site for connect-src checkbox as one of the directives.
By default, the Allow site for connect-src checkbox is disabled.
- Click the Save & New button.
You can see the list of whitelisted Whatfix domains in the CSP Trusted Sites section.
-
In the Trusted Site URL field, enter https://analytics.google.com
-
In the CSP Directives section, check Allow site for connect-src checkbox as one of the directives.
By default, the Allow site for connect-src is disabled.
- Click the Save & New button.
The CSP Trusted Sites section displays the list of whitelisted Whatfix domains: