Solved

Klaviyo URLs for CSP

  • 23 November 2021
  • 3 replies
  • 59 views

Badge +1

Does Klaviyo have a list of URLs we can include in our site CSP?

 

as per https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP

 

Thanks

icon

Best answer by alex.hong 23 November 2021, 23:06

View original

3 replies

Userlevel 6
Badge +51

Hey there @Mailing!

 I've checked in with my team and we don't currently have a list like you're requesting, however, all of the resources will originate from klaviyo.com​ and so I believe that your example from the first email of using *.klaviyo.com​ is going to be the best way to accomplish this.

Hope this helped!
Alex​​​​​​​

Hi @alex.hong,

I’d like to follow this up with a request for a page in the documentation specifically related to CSP configuration for Klaviyo and any on-site scripts.

There are a number of different assets required to be added to the CSP and simply adding *.klaviyo.com to all directives is not best practice.

Providing the specific directives and the URLs such as here https://developers.google.com/tag-platform/tag-manager/web/csp so that a wildcard doesn’t need adding would be far more useful.

Regards,
David.

Userlevel 6
Badge +51

Hi there @dgreenwooduktf!
Thank you for your feedback and additional details regarding this manner with Klaviyo and CSPs. I have put your comments into a product request so that our team can get some eyes on this feature. 

Have a good day,

Alex

Reply