Add a Voice AI Agent to Swipe Pages Landing Pages
Add the AnveVoice voice agent to Swipe Pages with Global settings, Custom Javascript: publish step, no preview, AMP-page limits and account-wide scripts.
How to add AnveVoice to Swipe Pages landing pages
Open Global settings in the Swipe Pages builder, choose Custom Javascript, paste the AnveVoice tag, save and publish. Custom code does not show in Preview and AMP pages restrict custom JavaScript, so use a Standard page. Steps checked against the official documentation on 2026-10-14.
At a glance
- Where the code goes: Builder → Global settings → Custom Javascript → paste, save, publish
- Preview: Custom CSS and JavaScript do not show in Preview; check the published page
- Page type: Standard pages, not AMP pages, if you need custom JavaScript
- Account-wide: Swipe Pages lists Global Scripts as an Agency-plan feature
Before you start
Get your embed ID from app.anvevoice.app (the Free plan is $0, no card). The page you edit in Swipe Pages must be a Standard page, and you need to be able to publish it. Swipe Pages supports AMP landing pages, and its help center explains that AMP does not permit custom JavaScript unless the code is AMP-compliant; custom code may still run, but the published page is no longer valid AMP, and Google's AMP delivery only serves pages that pass validation. The recommended answer is a Standard page, which the builder can create from an AMP page with the Create Standard Version option.
- 1. Copy your install tag — Replace YOUR_EMBED_ID with the ID from your dashboard. The URL accepts &position=bottom-left and &theme=dark if you want to change the look. Code: <script src="https://anvevoice.app/embed.js?embedId=YOUR_EMBED_ID" async></script>
Add the tag with Custom Javascript
Swipe Pages keeps page-level script settings in the Global settings panel of the builder. The help article for custom CSS and JavaScript is a few years old, so if a label differs slightly in your builder, look for the equivalent item in Global settings.
- 1. Switch to a Standard page — If the page is AMP, use Create Standard Version, then open that copy in the builder.
- 2. Open Global settings — Click Global settings in the builder.
- 3. Choose Custom Javascript — A dialog box opens where you can type or paste code.
- 4. Paste the tag — Paste the AnveVoice script tag exactly as shown, then save your settings.
- 5. Publish the page — Click Publish. Swipe Pages states that the effects of custom CSS and JavaScript do not appear in Preview mode, so the published URL is the only reliable check.
Tracking-code field and account-wide scripts
Swipe Pages also exposes a tracking code field under the Head section of a page, which its Meta Pixel guide uses: paste the script, click Save changes, then Publish. You can place the AnveVoice tag there too if you prefer to keep it beside your other tracking scripts, but one location is enough. To run a script on every landing page in one step, Swipe Pages' pricing page lists Global Scripts as a feature of the Agency plan rather than the other plans. If you run many pages on a lower plan, repeat the Custom Javascript step per page, or put the voice agent on a single hub page.
Check that it works
- 1. Open the published URL — Use the live link in a private window; the builder preview will look as if the code did nothing.
- 2. Find the voice button — A round microphone button appears bottom-right. Click it, allow microphone access, and ask something about the offer on the page.
- 3. Test on a phone — Open the same URL on mobile to confirm the button does not overlap a sticky call-to-action bar.
Common problems
- Nothing appears after saving: check the published page rather than Preview, and confirm you clicked Publish after saving.
- Page shows validation errors in AMP: custom JavaScript is not allowed in AMP pages unless AMP-compliant. Create a Standard version.
- Button hides your sticky footer button: set &position=bottom-left on the tag URL.
- Microphone prompt never opens: the page must load over HTTPS, including on your custom domain.
Sources
- Swipe Pages Help: Add custom CSS and JavaScript to the landing page (https://docs.swipepages.com/en/articles/4786776-how-to-add-custom-css-javascript-to-the-landing-page) — checked 2026-10-14
- Swipe Pages Help: Why is my JavaScript not working in AMP pages? (https://docs.swipepages.com/en/articles/4749942-why-is-my-javascript-not-working-in-amp-pages) — checked 2026-10-14
- Swipe Pages Help: Add Meta Pixel tracking code (https://docs.swipepages.com/en/articles/6926419-how-to-add-meta-pixel-tracking-code-in-swipe-pages) — checked 2026-10-14
- Swipe Pages: Pricing (https://swipepages.com/pricing) — checked 2026-10-14
Related
- How to add AnveVoice to Landingi landing pages
- How to add AnveVoice to Unbounce landing pages
- How to add AnveVoice to a Leadpages page or site
- How to add AnveVoice to Instapage landing pages
Try AnveVoice on your site
Free plan: $0, 50,000 tokens a month, no card. Get your embed ID in the dashboard, then paste one tag.