Install guide
Add Peekaly to Wix
Paste one line of code into Wix once. Every popup you publish after that appears on your site automatically.
Steps
- Copy your codeIn Peekaly, open the install step of the setup after you sign up, or Settings → Connected sites → Install code. Your code is one script tag with your site key in it.
- Open custom codeIn your Wix dashboard, go to Settings → Custom code and click Add custom code.
- Paste it in the headPaste the code, choose All pages, and place it in Head.
- Apply and publishClick Apply, then publish your site.
- Check it workedOpen your site once. Peekaly notices the script running and marks your site as connected in the dashboard. Then publish a popup and it shows up on your site.
The code
It looks like this. Copy yours from Peekaly, because it contains your own site key.
<script src="https://www.peekaly.com/embed.js" data-site-key="YOUR_SITE_KEY" defer></script>The script loads with defer, so your page renders first and Peekaly loads after it.
Questions
Why doesn’t it work on my free Wix site?
Wix only allows custom code on sites with a connected domain, so you need a premium plan with your own domain.
Do I need to paste the code again for every popup?
No. The code is the same for your whole account. Every popup you publish for that site is picked up automatically.
Will it clash with my theme’s styles?
No. Each popup is drawn inside its own shadow DOM, so your theme’s CSS can’t change the popup and the popup’s CSS can’t change your site.
How do I see a popup on my site before publishing it?
Use “Preview on my site” in the publish step. It opens your site with the popup showing, and that preview is not counted in your views or leads.