How do I share a direct link for customer self-registration?

Modified on Wed, 6 May at 6:49 AM

How do I share a direct link for customer self-registration?

Let new customers register themselves in Hubhus by creating a campaign form, hosting it on a public Hubhus web page, and sharing the URL — no existing leads required.

TL;DR

Preferred: Embed the campaign form directly on your own website for best brand experience. Quick alternative: (1) Create a campaign form (Campaign settings → Campaign forms). (2) Copy embed code via the </> icon. (3) Create a public web page (Account → Web Resources → Web Pages), paste the embed code in HTML. (4) Share the public URL. URL format: leadvalidator.dk/wp/[account]/[subpath] or your custom domain. Customer submits → new lead is created automatically.

Get started in 5 steps

1

Create the campaign form

Go to Campaign settings → Campaign forms → + New campaign form. Add fields customers should fill (name, email, phone, address, any custom fields). Mark required fields. Configure success behavior: custom message, redirect URL, or both. Note: campaign forms create NEW leads only — they cannot update existing leads. (For updating existing leads, use webpage forms instead.)

2

Copy the embed code

Click the </> embed icon on the form row. Copy the full embed code — it includes an <iframe>, a script to set the src, and iframeResizer for auto-sizing.

3

Create the public web page

Go to Account → Web Resources → Web Pages → + New Web Page. Set: descriptive name, subpath (becomes part of the URL, e.g. "register"), Page Host (your custom domain or the default leadvalidator.dk). Choose "No parent layout" for full control, or an existing layout for consistent branding. In the HTML editor, add your intro text and paste the embed code. Use %brand_logo_url%, %brand_name%, %brand_color% for branded content. Save.

4

Get and test the URL

After saving, find the public URL in the Web Pages list. Test it in an incognito window. Submit a test entry and verify the lead appears in the campaign. Check that success message, email automation (if any), and redirect all work correctly.

5

Share the link

Share via email, SMS, website button, social media, QR code, or print. Include privacy/GDPR notice on the page if collecting personal data. For automated invitations, use the URL in email templates sent by automations or action buttons.

Read more

Complete registration page HTML template

Paste into the Web Page HTML editor. Replace the iframe src with your own embed code from Campaign settings → Campaign forms → </> icon:

<!DOCTYPE html>
<html lang='da'>
<head>
    <meta charset="UTF-8">
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no' name='viewport'>
    <title>%brand_name%</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <style>
        body { padding: 40px 0; background: #f9f9f9; }
        .logo { text-align: center; margin-bottom: 24px; }
        .logo img { max-height: 60px; }
        h1 { text-align: center; margin-bottom: 8px; }
        .lead { text-align: center; color: #605e5c; margin-bottom: 32px; }
    </style>
</head>
<body>
    <div class="container" style="max-width: 700px;">
        <div class="logo">
            <img src="%brand_logo_url%" alt="%brand_name%">
        </div>
        <h1>%brand_name%</h1>
        <p class="lead">Udfyld formularen herunder for at komme i gang.</p>

        <!-- Campaign form embed code (replace with your own) -->
        <iframe id='hh_iframe_XXXXX' frameborder='0'
                style='border:0;width:100%;height:100%'
                allowtransparency='true' scrolling='no'></iframe>
        <script>
        document.getElementById('hh_iframe_XXXXX').src =
            'https://leadvalidator.dk/form/[ACCOUNT_ID]/[FORM_TOKEN]/embedded-iframe-url?page_url=' +
            encodeURIComponent(window.location.href);
        </script>
    </div>
</body>
</html>

Campaign form vs. Webpage form — key difference

Campaign form Webpage form
Creates new leads only Updates existing leads
No lead required to exist Lead must already exist
Use for self-registration Use in customer portals

For customer self-registration, always use Campaign form embedded in a Web Page.

Troubleshooting

  • Form not appearing on page: Verify embed code is pasted correctly. Check browser console for JS errors. The iframe ID must match in both the <iframe> tag and the script.
  • Form too small or doesn't resize: The iframeResizer script (included in embed code) handles auto-sizing. Ensure you've pasted the complete embed code including the script tag.
  • Lead not appearing after submission: Check which campaign the form belongs to. Verify it's saved and published. Test in incognito window.
  • Page 404: Verify the subpath is correct, page is saved, and Page Host matches your domain configuration.
  • Custom domain not working: Verify domain is configured under Account → Web Resources → URL Hosts.

Common searches

self registration • registration link • public form • customer registration • sign up link • web page form • registration page

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article