Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including
Stack Overflow
, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I am trying to configure Heap analytics JS script in our Salesforce Community and getting a CORS policy error from the Community origin URL. I am adding the Heap script in the Head markup of the Community page.
I tried adding the URL to the Salesforce CORS Allowed Origin by going to Quick Find -> Security -> CORS but still getting this error.
Wanted to know how I can get around this error? or is it not possible as per this idea:
https://trailblazer.salesforce.com/ideaView?id=08730000000DiyFAAS