Manual loading
Disable auto loading
window.Frill('container', {
key: 'YOUR_SCRIPT_KEY',
// Pass false to disable automatic Widget and Survey loading
autoLoad: false, // Also accepts: 'widgets' or 'surveys'
});const widget = await window.Frill('widget', {
key: 'YOUR_WIDGET_KEY', // <-- Add Widget key here
callbacks: {
onReady(widget) {
// Optional callback if you prefer this syntax
console.log(widget);
},
},
});Last updated