Setup guide · Framer
Add an install popup to Framer — setup guide
Install InstantPWA with Framer Custom Code, all-page scope and published-site testing. Includes plan requirements and offline limitations.
Key takeaways
- Add the script in project settings, not a visual embed.
- Confirm Custom Code access on your paid Framer plan.
- Use all-page scope and avoid duplicate scripts.
- Test the published URL and the home-screen launch separately.
Before you start
- A paid Framer plan with Custom Code access.
- A published HTTPS site.
- An InstantPWA popup with the matching published address.
Step-by-step for Framer
- Step 1Configure and copy your popup
Save your published Framer address in InstantPWA, match the site branding and copy your install code.
<script src="https://instantpwa.com/api/public/embed.js" data-widget-id="YOUR_WIDGET_ID" defer></script> - Step 2Open project Custom Code
Open the Framer project settings and find Custom Code. Add a new script entry rather than a canvas embed.
- Step 3Apply the script to all pages
Paste the script at the end of the body and choose all pages. Keep one copy in the project; do not also paste it into individual page settings.
- Step 4Publish and test on a phone
Publish the changes. Open the address saved in InstantPWA, run the install check and follow the home-screen instructions in Safari or Chrome. Visit another page to confirm the popup is not duplicated.
Common Framer gotchas
- Custom code on the published site is not the same as a canvas preview.
- A custom domain and a framer.app address are different origins; save the one visitors actually use.
- A separate Netlify or CDN service worker cannot control your Framer origin.
- Existing popup dismissal settings may prevent it appearing on every test visit.
FAQ
Does Framer’s free plan support this workflow?
Framer documents Custom Code as a paid-plan feature. Confirm your project has Custom Code access before creating the integration.
Will the script make my site available offline?
No. A popup does not implement a same-origin service worker or cache your pages. Offline behavior needs a separate implementation.
Why does my custom-domain install check fail?
Check that the project was published to that domain and that the same address is saved on the popup. Code on a different preview origin does not verify your custom domain.
Platform documentation
Preview your install popup
Match your website’s branding before adding the snippet.