Universal Website Embedding

    Embed a Form on Any Website in 2 Minutes

    Copy one snippet from AdPair, paste it where the form should appear, and you're done. The form inherits your page width, works on mobile, and updates itself whenever you edit it in AdPair, with no re-pasting.

    Distribution Modes

    Three ways to publish a form

    Choose the format that fits your user acquisition channel.

    OptionBest forHow it looks
    Inline embed
    Landing pages, contact and quote pagesThe form sits inside your page content
    Pop-up or slide-in
    Offers and exit-intent captureOpens over the page on a button click or trigger
    Shareable link
    Email, social, QR codes, WhatsAppA hosted page with its own URL
    Strategic note: Use the inline embed on pages you want to rank in Google. Use the link where there is no website page at all.
    Quick Setup

    Get the snippet

    Generate your lightweight embed code in three clicks:

    1
    Open your form in AdPair and click Publish.
    2
    Choose Embed and copy the code.
    3
    Paste it into your site using the steps for your platform below.
    adpair-embed-snippet.html
    <div id="adpair-form-embed" data-form-id="frm_live_7x9q2"></div>
    <script async src="https://embed.adpair.co/v1/loader.js"></script>
    AdPair Publish Modal
    Universal JS
    Embed on your website
    <div id="adpair-form-embed" data-form-id="frm_live_7x9q2"></div>
    <script async src="https://embed.adpair.co/v1/loader.js"></script>
    Loads asynchronously with zero layout shifts
    Automatic responsive height resizing via postMessage
    Copying the AdPair form embed code
    CMS & Website Guides

    Step-by-step instructions for your platform

    Select your CMS below to see exact clicks and snippet placement.

    WordPress

    Gutenberg & Elementor
    1

    Edit the page in the block editor.

    2

    Add a Custom HTML block where the form should go.

    3

    Paste the AdPair snippet and click Update.

    4

    Using Elementor? Drag in the HTML widget instead and paste the same code.

    WordPress Block Editor — Custom HTML IntegrationGutenberg Block
    HTML Block:
    <div id="adpair-form-embed" data-form-id="frm_live_7x9q2"></div>
    <script async src="https://embed.adpair.co/v1/loader.js"></script>
    Embedding an AdPair form in WordPress
    Final Output

    Live Responsive Deployment

    Forms fluidly adapt to container widths and mobile viewports with zero horizontal scrolling.

    Embedded on Desktop Landing Page
    Active & Ready
    Mobile Screen
    Get Quote
    Embedded AdPair lead form on a landing page
    Best Practices

    Embedding tips

    One form per page

    One form per page converts better than two competing forms. Give visitors one clear action.

    Positioning strategy

    Put the form above the fold on mobile for short forms; below the explanation for long or multi-step forms.

    Match the page branding

    Match the page: set the form's colours and font in AdPair to your site's so it doesn't look bolted on.

    Track the source

    Track the source: use a separate form or a hidden source field per page, so you know which page produced each lead.

    Embedding FAQ

    Frequently Asked Questions

    The snippet loads the form after your page content, so your page still loads first. The embed script is under 15KB gzipped and loads asynchronously from global edge CDNs, ensuring zero impact on your Core Web Vitals (LCP, INP, CLS).
    Publish In 2 Minutes

    Ready to Embed on Your Website?

    Generate your universal embed code, paste it once, and start capturing qualified leads immediately.