I’m working on a project where I have event pages on my website (like mysite.com/events/1234.html) that contain details about different events. I created a Google Form that feeds into a spreadsheet for collecting feedback.
My problem is figuring out how to automatically grab information from the event page (like event title and date) and pre-fill certain fields in my Google Form when people access it.
For example, I want my form to look like this:
Event Title: [automatically filled from webpage] Event Date: [automatically filled from webpage] How would you rate this event? [user fills this] Additional comments: [user fills this]
The goal is to send people a link to the form that already has the basic event info filled in. This would prevent spelling errors and make it easier for users.
I know you can manually add parameters to Google Form URLs, but I’m looking for a way to do this automatically. Is there a method to pull data from my event pages and populate the form fields without manual work each time?
Had the same issue when I built a feedback system for our company events. Here’s what worked for me: I created a small server script that generates Google Form URLs on the fly. When someone hits your event page, the backend grabs event details from your database, then builds the prefilled form URL using Google’s parameter structure. The trick is getting your form field IDs right - just inspect the form’s HTML source to find them. I made a simple endpoint that takes the event ID, pulls the event data, and redirects to the formatted Google Form URL. Everything runs automatically and users get a smooth experience without any manual URL building.
hey, have you tried using js? u can scrape the event data using document.querySelector() to get the title and date, and then create the google form link with those prefilled params. it works well if ur event pages are structured consistently!
There’s a simpler way if you don’t want to deal with server setup. I use Google Apps Script to automate this - it reads event pages and creates prefilled URLs. Just add a trigger that runs when someone clicks the feedback link. Works perfectly and everything stays in Google’s ecosystem!
I hit this exact problem when collecting feedback for our product demos. Doing it manually gets tedious fast.
Here’s what actually works: set up automation that watches your event pages and handles form prefilling automatically. The workflow monitors when someone visits your event page, scrapes the event details, and generates the prefilled Google Form URL on the spot.
Best part? No server scripts or bookmarklets to manage. Just grab the event title and date from your page, map them to your Google Form field IDs, and build the URL with the right parameters.
I do this webpage-to-form automation all the time now. The workflow runs behind the scenes and creates prefilled links instantly when users hit your feedback button. Zero manual work, no server code to maintain, and it scales as you add events.
For this automation, Latenode handles the web scraping and form URL generation perfectly. Connects directly to your pages and Google Forms without coding.
I solved this with a bookmarklet and basic automation. I had the same issue with prefilling forms from webpage content. Create a JavaScript bookmarklet that pulls event data from your page and builds the Google Form URL with the correct parameters. You’ll need to map your event page structure to the form field entry IDs. Then, embed it as a ‘Give Feedback’ button on each event page. When clicked, it grabs the data and opens the prefilled form. No server-side setup is needed, and it works across browsers. It takes about an hour to set up but saves you a lot of time later.