Test Google Forms Integration
This is a test page to verify the Google Forms integration is working correctly.
Setup Instructions
⚠️ Configuration Required
This form won't work until you configure it with your actual Google Form URL and entry IDs.
Follow the setup guide in GOOGLE_FORMS_SETUP.md
.
Step 1: Create Google Form
Create a Google Form with the required fields
Step 2: Get Entry IDs
View source of your form to find entry IDs
Step 3: Update Component
Replace placeholders in ContactFormGoogleForms.astro
Step 4: Test
Submit this form and check your Google Sheet
Benefits of Google Forms
- 100% reliable delivery
- Automatic Google Sheets storage
- Built-in email notifications
- No API keys or configuration
- Free with unlimited submissions
Test Contact Form
Thank you! Your message has been sent successfully. We'll contact you within 24 hours.
Error: Something went wrong. Please try again.
Current Configuration:
Form URL: YOUR_GOOGLE_FORM_URL_HERE
Show Thank You: true
(shows success message instead of redirecting)
Usage Example
---
import ContactFormGoogleForms from '../components/ContactFormGoogleForms.astro';
---
<!-- Basic usage -->
<ContactFormGoogleForms
title="Get a Free Quote"
googleFormUrl="https://docs.google.com/forms/d/e/YOUR_FORM_ID/formResponse"
showThankYou=
/>
<!-- Show success message instead of redirecting -->
<ContactFormGoogleForms
title="Contact Us"
googleFormUrl="https://docs.google.com/forms/d/e/YOUR_FORM_ID/formResponse"
showThankYou=true
/>