marker-io / browser-sdk

Marker.io browser SDK
MIT License
8 stars 8 forks source link

Add domain for analytics to resolve conflicts with CSP policies #24

Open coreymartin opened 1 year ago

coreymartin commented 1 year ago

It looks like analytics are being loaded from https://s3.eu-west-1.amazonaws.com/marker.sessions.prod. This results in a lot of failed connections in our app because our CSP needs to allow specific domains. Opening it up to all of https://s3.eu-west-1.amazonaws.com would present a security issue that CSP is designed to prevent.

Could you please provide a way for us to resolve this either by using a designated domain for collecting analytics information or something in the SDK to better handle the errors?