Contact Sales
Contact Login
Leadgen App
  • Product
    • Online Form Builder
      • Features
        • Multi Step Form Builder
        • Conditional Logic Form Builder
        • Form Fields
        • Partial Leads
        • Form Calculations/Scoring
        • AB Testing & Conversion Optimization
        • LeadProof
      • Demo
      • Integrations
        • Google Analytics
        • Google Cloud
        • Event Tracking
        • Zapier
        • Webhooks
        • Trustedform Certificates Integration
        • Contact State
      • Customer Experiences
    • Lead Verification
      • Trustedform Certificates Integration
      • Contact State
  • Pricing
    • Subscriptions
    • Enterprise
  • Templates
    • Lead Capture Forms
    • Data Collection Forms
    • Contact Forms
    • Conditional Logic Forms
    • Calculator Forms
    • Lead Qualification Forms
    • Request Forms
  • Support
    • Help Center
    • Security
    • FAQ
  • Free Trial
  • Watch Demo
Select Page

Suggestions and Feedback

  • Submit New Feature Request

Build Forms

  • How to Capture UTM Parameters for Accurate Campaign Tracking
  • What Are The Steps To Create A LeadGen Form?
  • How To Add Google ReCAPTCHA On Your LeadGen Forms?
  • How Can I Centralize The Question Title And Description Text In Forms?
  • How Do I Start Creating Forms In LeadGen App?
  • How To Create A Multi-Step Form?
  • How To Ask For Date Of Birth In A LeadGen Form?
  • How Can I Add Images And Logos To My Forms?
  • What Can I Do To Increase Lead Quality And Avoid Spam Enquiries?
  • How Can I Add A Summary Step For Users To Review Their Answers Before Submitting The Form?
  • How Can I Randomize The Order Of Options In Multiple Choice Questions?
  • How Can I Use Google Powered Address Autocomplete In LeadGen Forms?
  • What is Auto Navigation in multi step forms?
  • Blocking Custom Email Formats: A Simple Yet Effective Way to Manage Your Inbox

Lead Notifications

  • How Can I Remove LeadGen App Branding In Email Notifications?
  • How Can I Set-Up Email Notifications For New Leads?
  • What Can I Do If I Don’t Receive Email Notifications?
  • My Lead Notification Email Land In Spam Inbox. How Can I Resolve This?
  • My Emails Land In Updates, Promotion Or Other Gmail Tabs. How Can I Get Them To My Inbox?
  • How Does The Reply-To Header Setting In Email Notifications Work?

Conversion Optimization/Analytics

  • What Are Partial Lead Entries?
  • What Metrics Can I See To Analyze My Form Results?
  • How Can I A/B Test My Form Variants?
  • Form Events With Script Execution In LeadGen Forms

Form Design

  • How To Customize Multiple Choice Questions?
  • How Can I Use Themes To Save My Form Branding?
  • How Can I Customize The Continue And Submit Buttons?
  • Form Design Guide: How Can I Change The Design Of LeadGen Forms?
  • How can I change the form background color?
  • How Can I Make The Form Background Transparent?
  • How Can I Change The Form Width?
  • How Can I Change The Form Height?
  • How Can I Change The Form Internal Spacing/Padding?
  • Can All Form Steps To Have A Consistent Height?
  • How Can I Customize The Form Progress Bar?
  • How Can I Change The Font Size/Colors?
  • How Can I Change The Border Radius Of Elements In The Form (Form Design, Buttons, Etc.)?
  • How Can I Upload Images And Add Textboxes To Forms?
  • How Can I Add Image/Icons To Choice Questions?
  • How can I use radio buttons in questions?
  • What is the form fade-in effect?
  • How Can I Change The Background Color Of My Form?
  • How To Change The Dropdown Text Color?
  • Create A Form Ending For Unqualified Leads

FAQ

  • Frequently asked questions

Lead Management

  • How can I export my leads into a spreadsheet?
  • Where can I find my leads?
  • How can I delete leads?
  • Partial Lead Submissions

LeadProof

  • How can I use LeadProof on my website?

My Account

  • How can I update my bank/card details?

Templates

  • Can I edit a form template?

GDPR Compliance

  • Do you provide a GDPR Data Processing Agreement?
  • How can I use the GDPR Question Type?

Embed Forms

  • How can I fix forms that are not loading?
  • How to embed forms in Wix
  • How to embed forms into WordPress (Divi Theme)
  • How to embed forms into Leadpages
  • How to embed forms in Unbounce
  • How to embed forms in Webflow
  • How to embed forms in WordPress (Gutenberg Editor)
  • My forms load slowly. How can I improve load time?
  • The form doesn’t look good on mobile. How can I improve the responsiveness?
  • How can I change the sizing of the form?
  • How to embed forms in Squarespace
  • How can I embed LeadGen forms (Full Guide)
  • How does the Geolocation feature work?
  • How can I embed LeadGen forms in Clickfunnels?

Thank-You Screen

  • Source URL vs Source Domain – Visitor-Based Form Endings
  • How to connect forms to Thank-you pages/messages
  • Multiple Endings to a Form
  • How can I post form data to the Thank-you page URL?
  • How can I append form data to the Thank-You URL?

Services

  • Do you offer Form Design Services?

Conditional Forms

  • How to create conditional logic forms?

Calculator Forms

  • How to build a calculator form?

Integrations

  • Integration guide: Connect LeadGen App via Zapier
  • Integrations Guide: How to integrate LeadGen via Webhooks
  • What type of integrations does LeadGen App support?
  • Google Analytics Integration Guide
  • Is it possible to track LeadGen conversions inside Unbounce?
  • Contact State Integration guide
  • Trustedform Integration
View Categories
  • Home
  • Help Center
  • Thank-You Screen
  • Source URL vs Source Domain – Visitor-Based Form Endings

Source URL vs Source Domain – Visitor-Based Form Endings

Overview #

When creating visitor-based form endings, you can now target users based on where your form is embedded using two powerful options: source URL and source domain.

00:00: In this video, I will walk you through our latest features focusing on Source, URL

00:04: and Source, domain conditions.

00:07: Before we start, I will give you a brief understanding of what source URL does and

00:11: how it helps and precise page-level targeting.

00:13: So, basically, what source URL does, it matches the complete page

00:17: URL, where your form is embedded. It’s best for page level targeting and precise

00:21: URL matching. Next comes Source domain, it

00:26: matches only the domain with protocol where your form is embedded, ignoring paths

00:30: and parameters Best for site level targeting

00:34: that ignores UTM parameters and specific pages.

00:38: To give you a better understanding. Let’s take an example.

00:42: If a user has several websites with embedded forms and wants

00:46: to redirect to a different. Thank you page upon form submission.

00:51: On each website there using a single form, they will

00:55: need a way to set up those conditions. This is where the source URL and

00:59: Source domain come in

01:01: Now, let me show you how you can use both of these source shares to

01:05: get a better understanding of how they work. Log in to your LeadGen

01:09: account and navigate to the Forms section.

01:13: I have several forms here. I will choose the Appointment Booking Form to edit its

01:17: settings.

01:18: Open the appointment booking form Builder.

01:22: Access the Forum endings feature within the form Builder.

01:24: As you can see, I have no ending at it here.

01:28: This is just a default, thank you message which you will see when you submit

01:32: the form.

01:33: In order to add a condition or ending type, just click on this button. We have, three types of conditions.

01:38: Currently, we support two of them Answer based & Visitor based. For Source URL & Source domain conditions, I will go into the visitor base.

01:42: Click on set, ending title to name your condition.

01:45: Enter Source One as the title for this condition.

01:49: Click on select a field, to apply a condition to choose the field for the condition.

01:55: As the name, you know, tells us, this source URL does a full order comparison, and the source domain does the domain-only comparison.

01:58: Click to open the comparison, operator options.

02:01: Choose is equal to as the condition operator.

02:04: Click on set Source, URL to specify the URL for the condition.

02:09: Enter the full URL where you want to apply the condition.

02:11: Such as https colon slash slash

02:16: leadgen app, dot IO slash blog.

02:20: Click to confirm the URL entry.

02:22: Select show message on form submission as the action.

02:25: When the condition is met,

02:28: Click to edit the message shown after form submission.

02:32: Enter a, thank you message, for example, thank you for submitting your details.

02:37: Click to save the. Thank you message.

02:39: Switch to the form lead, genup dot IO domain to

02:43: test the Forum.

02:45: Click to start filling out the form for testing.

02:49: Enter ww as a test input in the first field.

02:54: Click continue to proceed to the next step.

02:57: Click to fill the next form field.

03:00: Click continue to proceed further.

03:02: Click on the your name field to enter a name.

03:05: Click on the your email address field to enter an email.

03:09: Click on the your phone. Number field to enter a phone.

03:12: Click submit to complete the form submission.

03:16: As you can see the condition is met and the thank you message is reflecting at the end

03:19: Do you know, fully test this. We have to add several conditions to check if it directs

03:23: to the correct path.

03:25: So, I will do, I will do duplicate this one, and

03:29: you can either add a new, or you can duplicate and then just, you

03:33: know, add the details.

03:35: Add Source 2 as the ending title

03:38: Or here I will add the details and is equal to.

03:41: For this new, I will be hanging, you know, completely different

03:46: URL to test on. So this is my form publish link is you

03:50: can see this is a different URL. I will have to copy the whole URL and

03:54: I will navigate back to my condition Builder and I will use this one.

03:58: I will now add the thank you page action as Go to URL after

04:02: form submission.

04:05: And now let’s just change it to URL and see if

04:09: that works. I will go.

04:12: So, as you do, yes, google.com,

04:14: okay.

04:16: Click on the update and save the conditions.

04:19: So first of all, let’s go to this publishing link and see if it,

04:24: you know, redirects us to the google.com.

04:28: I’ll refresh the form once we get a new change.

04:30: Now I will fill in the form details, and try to submit the form.

04:34: Hopefully, it should redirect us.

04:37: To the google.com, as it does, you can see.

04:40: This guy demonstrated how to set up a source URL condition and form

04:44: endings to redirect users or show custom messages based on the URL where

04:49: the form is embedded. It also covered testing the form with sample

04:53: inputs, to verify the condition and message display.

 

Go to the forms section in the Navbar. Select a form that you have created.

 

 

Navigate to your form endings.

 

Select form endings

 

 

Select “Add Condition” for form endings. Currently, we support “Answer-based” and “Visitor-based”.

Click on add condition

 

Choose “Visitor Based” to access source-based targeting options.

Visitor based

Select either “Source URL” or “Source Domain” from the field dropdown

Source URL or source domain dropdown

Set your condition (e.g., “Is Equal To,” “Is Not Equal To”).
Enter your target URL or domain (remember to include the protocol)
Save your configuration

Your form will now intelligently route users to different thank you pages based on their origin!

Source URL #

What it does: Matches the complete page URL where your form is embedded.

Best for: Page-level targeting and precise URL matching.

Example:

  • Form embedded on: https://client-website.com/landing-page?utm_source=google&utm_campaign=spring2024
  • Source URL captures: https://client-website.com/landing-page?utm_source=google&utm_campaign=spring2024

 

Use cases:

  • Different thank you pages for specific landing pages
  • Tracking performance by exact page location
  • When you need precise URL-level control

 

Source Domain #

What it does: Matches only the domain (with protocol) where your form is embedded, ignoring paths and parameters.

Best for: Site-level targeting that ignores UTM parameters and specific pages.

Example:

  • Form embedded on: https://client-website.com/landing-page?
    utm_source=google&utm_campaign=spring2024
  • Source Domain captures: https://client-website.com

 

Use cases:

  • SEM campaigns with changing UTM parameters
  • Same thank you page for the entire website
  • When UTM parameters make URL matching complicated

#

#

Key Differences #

Scenario Source URL Source Domain
SEM with UTM params Changes with each campaign ✅ Stays consistent
Different pages, same site Different for each page ✅ Same for the entire site
Subdomain tracking Includes full subdomain path Includes subdomain only

#

#

Configuration Tips #

For SEM Campaigns (Recommended: Source Domain) #

Condition: Source Domain “Is Equal To” https://client-website.com

This works regardless of UTM parameters like ?utm_source=google&utm_campaign=spring2024

For Page-Specific Targeting (use source URL) #

Condition: Source URL “Is Equal To” https://client-website.com/pricing

This targets specific pages like pricing or product pages.

For Multiple Domains (Use: Source Domain) #

Condition: Source Domain “Is Equal To” https://partner-site.com
Condition: Source Domain “Is Equal To” https://main-site.com

Pro Tips #

  • ✅ Use Source Domain when running paid advertising campaigns with UTM parameters
  • ✅ Use Source URL when you need page-level granularity
  • ✅ Both work seamlessly with iframe and direct embeds
  • ✅ Always include the protocol (https:// or http://) when setting conditions

#

#

Common Use Case: SEM Campaign Management #

Problem: Your form is on https://example.com/landing, but UTM parameters keep changing:

  • https://example.com/landing?utm_source=google&utm_campaign=A
  • https://example.com/landing?utm_source=facebook&utm_campaign=B

Solution: Use Source Domain with the condition https://example.com to catch all variations with one rule instead of managing multiple URL conditions.

Benefits #

This feature allows you to use your LeadGen forms as the primary solution across different scenarios, giving you the flexibility to target both domain and page levels!

#

#

Key Advantages: #

  1. Simplified SEM Management—No need to create multiple conditions for each UTM parameter combination.
  2. Flexible Targeting—Choose between precise page-level or broad domain-level targeting.
  3. Cross-Origin Compatible—Works seamlessly whether forms are embedded via iframe or direct embed.
  4. Protocol Aware—Handles both HTTP and HTTPS domains correctly.
What are your feelings?
Still stuck? How can we help?

How can we help?

Updated on August 20, 2025
How to connect forms to Thank-you pages/messages

Powered by BetterDocs

Table of Contents
  • Overview
  • Source URL
  • Source Domain
    • Key Differences
    • Configuration Tips
      • For SEM Campaigns (Recommended: Source Domain)
      • For Page-Specific Targeting (use source URL)
      • For Multiple Domains (Use: Source Domain)
    • Pro Tips
    • Common Use Case: SEM Campaign Management
    • Benefits
      • Key Advantages:
LeadGen App
🟢 System Status
The Platform
  • Form Builder
  • Multi Step Form Builder
  • Conditional Logic Form Builder
  • Pricing
  • TrustedForm
  • Contact State
  • A/B Testing
  • Features
  • Embed Forms
Industries
  • Marketing Agencies
  • Real Estate
  • Mortgage
  • Insurance
  • Car Detailing
Form Types
  • Types of Forms
  • Multi Step Forms
  • Application Forms
  • Registration Forms
  • Request Forms
  • Contact Forms
  • Data Collection Forms
  • Conditional Forms
  • Landing Page Forms
  • Consent Forms
Resources
  • Help Center
  • FAQ
  • Blog
  • Templates
  • Form Fields
  • Security
  • Tools
  • Blog Quality Policy
About
  • Contact Us
  • Customer Stories
  • About
  • Product News
  • Advertise with Us

© Copyright by CLIQ ONLINE PTY LTD hello@leadgenapp.io

  • Cookies
  • Terms
  • Privacy