Zeeg Help Center
HomeSupportSign InSign Up
  • What can we help you with?
  • 🚀Getting Started
    • How to set up Zeeg in four quick steps
    • Calendar Integration
      • Google Calendar
        • Google Calendar "Unknown senders" email invitations
      • Apple iCloud Calendar
    • Creating your scheduling page
    • Get your digital business card
    • Sharing your Zeeg scheduling link
      • Adding your scheduling link to your email signature
      • Sharing your scheduling QR code
  • 🗓️Managing Availability
    • Defining your available times
      • How to create an availability schedule
      • Availability hours of a scheduling page
      • Define different time zones for your Availability Schedules
    • Define event limits
    • Advanced scheduling settings
    • Single-use scheduling links
    • How to hide your scheduling page on Zeeg
    • How to manage unwanted bookings on Zeeg
    • Available times are not displayed on your appointment page?
  • Times should be blocked, but are displayed as available?
  • 🔗Integrations & automations
    • Video Conferencing
      • Google Meet
      • Webex
        • How Zeeg interacts with Webex
      • Zoom
        • How Zeeg interacts with Zoom
        • Adding a passcode for your Zoom meetings
        • Uninstalling Zoom
    • Embedding Zeeg on your site
      • How to Add Zeeg Meeting Scheduling to Your Squarespace Site
    • Zapier Integration
    • Stripe Integration
    • PayPal Integration
    • Google Analytics Integration
    • Meta Pixel Integration
    • HubSpot Integration
    • Salesforce Integration
    • Customize your event confirmation page
    • Events webhooks
  • Workflows
    • How to create reminders using workflows
  • 📅Automated Scheduling
    • Hosting group events with multiple invitees
      • How to set a particular time for a group event?
    • Hosting multiuser collective events
      • Team collective events
      • Shared collective events
    • Ask questions from invitees on your scheduling page
      • Collect consent for your appointments with custom Event Questions
    • How to cancel a scheduled meeting
    • How round robin distribution works
    • How to prefill invitee information on the scheduling page
    • Storing internal invitee data with Custom Query Parameters
  • 🏢Organization
    • Define your organization
    • Add users to your organization
    • Teams in Zeeg
      • Create a team in Zeeg
      • Add team members
    • Organization and Team Roles
    • How to setup SSO with Azure AD (SAML)
    • How to configure SCIM with Azure AD
    • Rooms and Resources
      • Microsoft 365 Resources and RoomLists
Powered by GitBook
On this page
  • Prefilling information with query parameters
  • Information you can prefill in your Zeeg link
  • How to prefill invitee information when embedding Zeeg?
  1. Automated Scheduling

How to prefill invitee information on the scheduling page

When you send your Zeeg scheduling link or post it on your site, Zeeg can automatically display the invitee's title, name and email on the scheduling page.

Last updated 4 months ago

When you share your Zeeg scheduling link with an individual or embed it on your website, Zeeg can automatically show personalized details of your invitee on your scheduling page form, such as their title, full name, first name, last name, and email, tailored specifically for each invitee.

Prefilling information with query parameters

  1. Either copy your Zeeg link or locate the scheduling page you wish to share on your and click on Copy Link.

  2. Next, paste this link into your preferred medium, such as an email, SMS application, or a text editor.

  3. If your link does not include a variable, append a "?" at the end of the link. This character begins the information string that accompanies your link.

  4. Skip to step 6 if your link already contains a variable or a value. Note: Sometimes, we add the current month and year to your link, ensuring invitees land on the appropriate month on the event scheduling page. For a detailed list of variables, refer to "".

  5. Append a variable name (the type of information you wish to include) followed by its corresponding value (the user's information).

  6. To add more variables, use "&" followed by additional variable names and their values.

Examples of scheduling links for pre-filling invitee's information

  • Prefilling full name and email: zeeg.me/flo/demo-en?name=Julia Herz&email=julia@acme.com

  • Prefilling first name, last name, and email: zeeg.me/flo/demo-en?first_name=Julia&last_name=Herz&email=julia@acme.com

  • Prefilling title, first name, last name, and email: zeeg.me/flo/demo-en?title=ms&first_name=Julia&last_name=Herz&email=julia@acme.com

Information you can prefill in your Zeeg link

The following variables are currently supported for prefilling the invitee's information, but we'll add support more variables such as questions' answers, soon.

Title

Add title=ms to the URL to prepulate your invitee's title.

Name

The "name" variable, usually used as full name, can be prefilled by adding name=Julia Herz to the URL.

First Name

Add first_name=Julia to the URL to prepulate your invitee's first name.

Last Name

Add last_name=Herz to the URL to prepulate your invitee's last name.

Answers to questions

For the answer to each of your questions, please add a immediately followed by the number of the question (as can be seen in your Zeeg dashboard when defining the questions), followed by = and immediately followed by the answer.

To select multiple answers for Checkbox questions, separate the answers with a comman (,).

Example: a1=answer to question number 1&a2=Productivity,Marketing

Location

To preselect a location, add location= followed by one of the options below depending on the location settings of your scheduling page:

  • Google Meet: google_meet

  • Microsoft Teams: microsoft_teams

  • Microsoft Skype: microsoft_skype

  • Whereby: whereby

  • Zoom: zoom

  • WhatsApp: whatsapp

  • Webex: webex

  • In Person location: in_person

    • If you have added multiple In Person locations, you can preselect a specific one similar to the following: in_person-2

  • Custom location: custom

    • If you have added multiple Custom locations, you can preselect a specific one similar to the following: custom-2

  • Phone Call:

    • Invite should call you, i.e. you have set your phone number as a location: phone_call

    • Invite should provide phone number for you to call: simply add the invitee's phone number without +; for example: location=491761234578

How to prefill invitee information when embedding Zeeg?

To dynamically embed Zeeg in your webpage, initiate an on-demand inline embed using JavaScript. This method enables you to control when the embed appears, such as after certain user actions are performed or once you've gathered data for pre-populating the booking form.

  1. Add a div element to your webpage, assigning it a unique ID. You also need to incorporate the Zeeg JavaScript file into your website.

  2. Next, execute this API call, ensuring you replace the placeholder text with your actual div ID.

Below is an example demonstrating the entire process:

    <!-- Zeeg inline embed begins -->
    <div class="zeeg-inline-widget" id="sample_div_id" style="min-width: 320px; height: 780px"></div>
    <script type="text/javascript" src="https://assets.zeeg.me/embed.min.js"></script>
    <script>
      Zeeg.initInlineWidget({
        url: 'https://zeeg.me/demo/hr-30min',
        parentElement: document.getElementById('sample_div_id'),
        prefill: {
          firstName: 'John',
          lastName: 'Doe',
          email: 'john@doe.com',
          answers: {
            a1: 'Somewhat',
            a2: 'Yes',
          },
          location: 'google_meet',
        },
        utm: {},
      });
    </script>
    <!-- Zeeg inline embed ends -->

You can create functions that look for URLSearchParams(window.location.search) in the URL and then call the function within the Zeeg.initInlineWidget for the utm and prefill objects.

function prefillForm() {
  const urlParams = new URLSearchParams(window.location.search);
  return {
    name: urlParams.get('name') || null,
    email: urlParams.get('email') || null,
    location: urlParams.get('location') || null,
    answers: {
      a1: urlParams.get('a1') || '',
      a2: urlParams.get('a2') || '',
      a3: urlParams.get('a3') || '',
    },
  };
}

function getUTMParameters() {
  const urlParams = new URLSearchParams(window.location.search);
  return {
    source: urlParams.get('utm_source') || null,
    medium: urlParams.get('utm_medium') || null,
    campaign: urlParams.get('utm_campaign') || null,
    content: urlParams.get('utm_content') || null,
    term: urlParams.get('utm_term') || null,
  };
}
📅
Zeeg dashboard
Information you can prefill in your Zeeg link