CustomGFormCustomGForm
Documentation
🔌 Embed Guides

How to Embed and Customize Google Forms in WordPress (No Plugins Required)

Embedding a default Google Form into WordPress usually means dealing with an ugly, unstyled iframe that doesn't match your theme, adds duplicate scrollbars on mobile, and displays prominent Google branding.

With CustomGForm, you can transform any Google Form into a native, beautifully styled WordPress form in under 60 seconds — without installing bloated plugins that slow down your site or cause security vulnerabilities.


Live Interactive Preview

Test this live interactive form directly on this page. Responses automatically sync in real-time to your Google Sheets:

Interactive WordPress Embed Demo
Powered by Google Forms

This responsive form is powered by Google Forms backend and renders natively on your WordPress site without iframes.

Loading interactive form preview...

Why CustomGForm Over WordPress Form Plugins?

FeatureStandard Google Forms iframeTypical WP Form Plugin (WPForms / Gravity)CustomGForm
Site Speed ImpactSlow (~1.5s iframe overhead)Heavy DB queries & assets on every pageZero backend bloat (~12KB CDN script)
Theme MatchingClashing purple Google headerRequires custom CSS tweaksAutomatic font & color palette matching
Mobile ExperienceAwkward double scrollbarsGood, but plugin-dependent100% responsive & fluid mobile layout
Data StorageGoogle SheetsLocal WP database (backup risk)Google Sheets + instant email / webhook alerts
Plugin VulnerabilitiesNoneFrequent security patches neededZero plugins installed on your WordPress

3-Step Setup Guide

Step 1: Connect & Style Your Google Form

  1. Go to the CustomGForm Dashboard and paste your public Google Form link.
  2. CustomGForm automatically imports your questions, dropdowns, and validation rules.
  3. Customize your design: choose typography matching your WordPress theme, pick your brand primary color, adjust input border radius, or switch to dark mode.

Step 2: Copy Your Embed Code

Choose how you want the form to appear on your WordPress site:

Add this standard embed code anywhere inside your page, post, or sidebar widget:

<!-- CustomGForm Standard Embed -->
<div data-customgform="YOUR_FORM_ID"></div>
<script async src="https://cdn.customgform.com/cgf.js"></script>
OptionTypeDescription
data-customgformstringYour unique CustomGForm Form ID (found in dashboard)
data-prefill_fieldsstringOptional: Query or field values to prefill (e.g. 261034186=WordPress)
data-themestringOptional: Force "light" or "dark" theme mode

Replace YOUR_FORM_ID with the ID generated in your CustomGForm dashboard (e.g. cme8v3p530011wnq8z6hscwfa).


Step 3: Paste into Your WordPress Page or Post

Depending on which WordPress editor you use:

Option A: WordPress Gutenberg Block Editor (Default)

  1. In your WordPress admin, open the Page or Post where you want the form.
  2. Click the + (Add Block) icon and search for Custom HTML.
  3. Paste your CustomGForm embed code into the block.
  4. Click Preview or Update. Your customized form is now live!

Option B: Elementor Page Builder

  1. Open the page in Elementor editor.
  2. Search the left widget panel for the HTML widget.
  3. Drag the HTML widget into your desired column or container.
  4. Paste the snippet into the HTML Code textarea and click Update.

Option C: Classic WordPress Editor

  1. In the editor toolbar, switch from the Visual tab to the Text (HTML) tab.
  2. Paste the embed code where you want the form to render.
  3. Click Update or Publish.

Pro Tips for WordPress

  • Full-Width Layouts: Place the <div> inside a container block set to wide or full-width alignment for seamless landing page hero forms.
  • Custom Redirects: Configure CustomGForm in your dashboard to redirect users to a custom WordPress "Thank You" page upon successful submission.
  • Hidden UTM Parameters: Track traffic sources (e.g. utm_source=google, utm_campaign=summer) by enabling hidden fields that pass directly into your Google Sheets spreadsheet.

⚡ 100% Free Plan • No Credit Card Needed

Add Custom Google Forms to WordPress in 60 Seconds

No plugins, no database bloat, no clunky iframes. Free plan available forever.

Start Free — Takes 60 Seconds →✓ Google Sheets auto-sync • Zero iframe flickering

On this page