How to Track the Website Source of Microsoft Forms Responses
Question details
The user wants to track the website source or URL from which a Microsoft Forms response originated, particularly when collecting data via Power Automate.

- Product
- Microsoft Forms
- Device & OS
- not provided
- Scenario
- Embedding a Microsoft Form on a website and needing to record the exact source location of the submissions in Power Automate.
- Observed behavior
- Microsoft Forms does not automatically capture or append a submission-source value (like a website URL) to the response data when the form is embedded.
Ensure you have editing access to your Microsoft Form and basic familiarity with Power Automate if you plan to link your form to an automated workflow.
Use Source-Specific Duplicate Forms
The most reliable workaround for tracking response origins is to create identical, separate forms for each website location.
Since Microsoft Forms cannot natively pull the source URL from an embedded webpage, creating a distinct form for each web page guarantees you know exactly where the submission came from.
Go to the Microsoft Forms dashboard, locate your original form, click the three dots on the form tile, and select 'Copy'.
Open the copied form and change the title to reflect its source (e.g., 'Contact Form - Home Page' or 'Contact Form - Landing Page A').
Click 'Collect responses', copy the embed code, and place it only on the specific webpage that matches the form's new name.
In Power Automate, create separate flows for each form ID, or use a switch condition to assign a hardcoded 'Source' value based on which form ID triggered the flow.

Add a Required Source Question
Include a question directly within the form asking respondents where they accessed it.
Consult the Power Automate Community for Custom Scripts
For advanced users looking to capture URLs dynamically, custom web development may be required.
Boost Your Productivity with WPS Office
While finding workarounds for Microsoft Forms and Power Automate limitations can be complex, handling your daily document and data collection tasks shouldn't be. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office.
- 1. Visit the WPS website: Go to the official WPS Office website on your device.
- 2. Download the software: Click the 'Free Download' button to get the latest version.
- 3. Install and launch: Run the installer, open WPS Office, and seamlessly manage all your documents and data.

Frequently Asked Questions
Can Microsoft Forms automatically capture the URL of the page it is embedded on?
No, Microsoft Forms does not currently have a native feature to capture and pass the host URL or referrer source automatically when embedded on a webpage.
Can I use URL parameters to pass hidden values to Microsoft Forms?
Unlike some advanced form builders, Microsoft Forms does not natively support prepopulating hidden fields via URL parameters to track sources.
Is it better to use one form or multiple forms for tracking sources?
If tracking the exact source is critical and you have a limited number of web pages, duplicating the form for each source is the most reliable method within the Microsoft ecosystem.




