File tree Expand file tree Collapse file tree
apps/sim/lib/core/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ const STATIC_SCRIPT_SRC = [
6666 'https://*.hs-analytics.net' ,
6767 'https://*.hscollectedforms.net' ,
6868 'https://*.hs-banner.com' ,
69+ // X (Twitter) conversion pixel (landing pages) — the base code injects
70+ // uwt.js as a <script> tag from static.ads-twitter.com
71+ 'https://static.ads-twitter.com' ,
6972 ]
7073 : [ ] ) ,
7174] as const
@@ -106,6 +109,10 @@ const STATIC_CONNECT_SRC = [
106109 // The visitor beacon itself is an image pixel (img-src, already
107110 // permitted below), not a connect-src request.
108111 'https://*.hscollectedforms.net' ,
112+ // X (Twitter) conversion pixel — uwt.js sends conversion beacons here
113+ // via fetch/sendBeacon. The t.co image-pixel fallback is already
114+ // covered by the `https:` wildcard in img-src.
115+ 'https://analytics.twitter.com' ,
109116 ]
110117 : [ ] ) ,
111118] as const
You can’t perform that action at this time.
0 commit comments