The public form URL shown on the Share page is canonical. Depending on the account configuration, it can use:
Iframe embeds
An iframe can use the complete custom-domain URL directly:
Hidden fields and UTM values remain query parameters on that URL:
Load the widget library from its stable Onlyform asset URL:
The currently published embed.js bundle constructs its internal form iframe on oy.fm from the configured form ID. Your form still works when the account also has a custom public hostname, but the internal widget request does not switch to that hostname.
If the embedded iframe itself must load through your custom hostname, use the direct iframe method. Do not change the embed.js script hostname unless Onlyform serves the widget bundle from that hostname.
Content Security Policy
Allow every hostname actually used by the selected method:
Merge these sources into the site’s existing policy rather than replacing the complete header.