Google Sheet Integration

You can automatically store form entries from your WordPress site to a Google Sheet using MetForm.

This form builder plugin allows seamless integration between your forms and Google Sheets, so you can organize and manage form data more efficiently.

Here is the procedure:

Nödvändiga plugins: #

  1. Elementor: Download Plugin
  2. MetForm: Download Plugin
  3. MetForm Pro: Get the Plugin

[Notera: Since MetForm is an Elementor form builder, you need to have Elementor plugin installed and activated on your website.]

Step 1: Set up a project in the Google Cloud console #

You will need APIs to connect the Google Sheet with WordPress form. For that, login to your Google Cloud console acoount. After that,

1. Click on the Select a project falla ner.

2. A popup will appear, there click on the Nytt projekt alternativ.

För att skapa ett nytt projekt anger du a Projektnamn och plats (om tillämpligt) och klicka på Skapa knapp.

Then go to your project dashboard, and navigate to APIs overview >> OAuth consent screen.

On the OAuth consent screen select the Användartyp till Extern och fortsätt genom att klicka på knappen "Skapa". 

 gå till skärmen för Oauth-samtycke

On the next screen, enter your App information including:

  • App-namn
  • Användarsupport e-post
  • Auktoriserade domäner
  • Developer contact

Slutligen, klicka på Spara och fortsätt

Gå till API-översikt

  1. Gå till sidan för OAuth-samtyckesskärmen
  2. Välj extern användartyp
  3. Tryck på skapa-knappen

Ange din appinformation, se bilden nedan –

Info om OAuth-appen

Nu måste du add App domain. If your site is on the live server then you need to authorize the domain. An authorized domain does not allow subdomain names and any protocol. However, you can use this Google project for websites created with your subdomain. For localhost, you do not need to authorize the domain.

Spara sedan och fortsätt.

Appens domännamn
  1. Från OAuth-samtyckesskärmen
  2. Klicka på Lägg till användare
  3. Add your email address and save it

Klicka på knappen tillbaka till instrumentpanelen

Tillbaka till instrumentpanelen

Klicka på publicera app-knappen och gå till sidan med användaruppgifter. Om din webbplats finns på localhost behöver du inte klicka på knappen för att publicera app. Gå bara till sidan med inloggningsuppgifter.

  • Gå till inloggningsuppgifter
  • Skapa autentiseringsuppgifter
  • Välj OAuth-klient-ID

Den valda applikationstypen är en webbapplikation, fyll i namninmatningsfältet

skapa autentiseringsuppgifter

Du kan nu kontrollera din klients ID, det läggs till i inloggningsuppgifterna

Now you will get the client ID and client secret, just copy them from here.

Step 2: Copy the URL From Metform’s Google Integration Tab #

I det här steget måste du lägga till en auktoriserad omdirigerings-URI. Du kommer att få omdirigerings-URI i din MetForms Google Sheet Integration-inställningar.

get the redirect URI inside your MetForm' s Google Sheet Integration settings.

Gå sedan till Credentials again > find Authorized redirect URIs > Add URI that you have just copied from Metform’s Google Sheet Integration settings

Step 2: Insert the Copied Ids #

Now, return back to Metform’s Google Integration tab from your dashboard.

Here, you have to paste the copied Client ID and Client Secret in the fields and save changes.

Insert the Google client id and Google client secret then save the changes

Step 3: Access Google Cloud console #

Now, select Library from APIs & Services

Här måste du aktivera Google Sheets API

Step 4: Go to MetForm’s Google Integration Tab #

Gå till din MetForm-instrumentpanel och klicka på länken Generate Access Token.

Click Generate access token

Logga in på ditt Gmail-konto och tryck på länken fortsätt. Efter inloggning kommer det att stå att Google inte har verifierat den här appen. Oroa dig inte och bara klicka på Fortsätt.

Next, choose the form where you want integrate Google sheet and/or Google drive.

Choose the form where you want to integrate Google drive

In the settings window, you need to turn on the Google sheet and/or Google drive integration options to use the form in your Google Sheet.

För att göra det, från instrumentpanelen > Gå till Metform > Formulär > Klicka på Redigera alternativet för formuläret du vill lägga till i arket > Gå till Form Inställningar > Integration > Sätta på Alternativet Google Sheet

Slutligen kan du se de två fälten som kallas Kalkylarkslista och Kalkylarkslista. Om du uppdaterar Lista över kalkylblad alternativet kommer det att visa dig alla dina ark från enheten.

Learn in-depth about how to connect WordPress forms to Google Sheets.

Vad är dina känslor

Updated on december 10, 2025