Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Surveys -- a way to pass URL parameters into survey?

I have created a Google Survey and I want to be able to pass URL parameters into the survey so that I can track where responses are coming from. Ideally these URL parameters will be populated into the spreadsheet.

I have tried something like this:

https://docs.google.com/forms/d/HASH/viewform?src=MY_SOURCE&ref=MY_REF

However, this doesn't seem to be working.

Any help or comments appreciated!

like image 838
Nathan Lippi Avatar asked Jan 08 '15 16:01

Nathan Lippi


People also ask

How do you pass information through a URL?

Any word after the question mark (?) in a URL is considered to be a parameter which can hold values. The value for the corresponding parameter is given after the symbol "equals" (=). Multiple parameters can be passed through the URL by separating them with multiple "&".

Does Google crawl query parameters?

Google May Crawl Parameter URLs Set to Crawl: None in the Parameter Handling Tool in GSC. Google may still crawl parameter URLs, even if you set the parameter to crawl: none in GSC. If you want to ensure the URLs never get crawled John recommends using the robots. txt file instead.


2 Answers

There is no way to pass hidden information, but you can pre-fill form fields using URL parameters:

  1. Open a form in Google Forms
  2. In the top right, click More [...]
  3. Choose Get pre-filled link
  4. Fill in any answer fields you want to pre-populate
  5. Click Submit
  6. To send the pre-populated form to respondents, copy and send the link at the top
like image 59
Eric Koleda Avatar answered Oct 29 '22 17:10

Eric Koleda


I've wanted to pass through hidden information through a Google Form and came up with a little work around:

  1. Create a new page/section (old vs new forms) on the form with the questions that you want filled. If you have multiple pages, make the hidden page the last for simiplicity.

  2. Use the "continue to page" option on the last page/section you want visible to go to Submit.

  3. Use the prefill tool to get the entry IDs and set up the link as you need.

When a user accesses the form through the pre-filled URL, the hidden data will be filled in on the hidden page and submitted with their other answers... Although it will be hidden from an EU standpoint.

I use this frequently for transferring data from one form to another. With the CopyDown addon to copy the formula after each form submit so that it builds the pre-fill URL, that when clicked, has just the essential questions (i.e. record number, name, etc.) to verify the info. Hit Next, then Submit!

like image 26
ADJ1223 Avatar answered Oct 29 '22 16:10

ADJ1223