Skip to content

Contactum

  • Home
  • Features
  • Integrations
  • Pricing
  • Templates
  • Blog
  • Contact
Contactum

Contactum

1
  • Contactum Admin Overview

Integrations

36
  • Zoho CRM Integration
  • Trello Integration
  • Sendinblue (Brevo) Integration
  • SendFox Integration
  • Salesforce Integration
  • Moosend Integration
  • Pipedrive Integration
  • MailerLite Integration
  • iContact Integration
  • HubSpot Integration
  • Campaign Monitor Integration
  • GetResponse Integration
  • Drip Integration
  • ConvertKit Integration
  • Constant Contact Integration
  • AWeber Integration
  • Airtable Integration
  • ActiveCampaign Integration
  • Amazon S3 Integration
  • Mailchimp Integration
  • Webhook Integration
  • CleanTalk Integration
  • Cloudflare R2 Integration
  • WooCommerce Integration
  • Twilio Integration
  • Zapier Integration
  • n8n Integration
  • Notion Integration
  • Google Sheets Integration
  • Google Calendar Integration
  • Google Analytics Integration
  • Google Drive Integration
  • OneDrive Integration
  • Dropbox Integration
  • Mailjet Integration
  • Help Scout Integration
View Categories
  • Home
  • Docs
  • Integrations
  • Google Analytics Integration

Google Analytics Integration

2 min read

Send a GA4 event to Google Analytics every time a form is submitted, so you can track form conversions alongside the rest of your site’s analytics. Requires Contactum Pro with the Google Analytics module enabled.


Requirements #

  • Contactum Pro, with the Google Analytics module active (Contactum → Modules)
  • A GA4 property with a data stream already set up
  • A GA4 Measurement ID and a Measurement Protocol API Secret

1. Get Your GA4 Credentials #

  1. In your GA4 property, go to Admin → Data Streams and open your stream. Copy the Measurement ID (looks like G-XXXXXXXXXX).
  2. On the same stream, go to Measurement Protocol API secrets → Create and copy the generated secret.

2. Connect Google Analytics in Contactum #

  1. Go to Contactum → Settings → Integrations → Google Analytics.
  2. Paste in your Measurement ID and API Secret.
  3. Click Save & Test Connection.

Contactum sends a test event to GA4’s debug endpoint to confirm the pair is valid before saving. On success you’ll see “Connection successful. Events will be recorded in GA4.” and the status badge turns green.

Unlike most integrations, the Measurement ID and API Secret fields stay visible even after a successful connection — there’s no separate “disconnect” view, you can just edit and re-save.


3. Enable Google Analytics on a Specific Form #

  1. Open the form in the builder.
  2. Go to Form Settings → Integrations.
  3. Toggle Send GA4 Event for this form on, then click Configure.

4. Configure the Event #

Field Description
Event Name The GA4 event name to record, e.g. form_submission (default). Only letters, digits, and underscores are allowed, and it must start with a letter — anything else is automatically cleaned up

There’s no field mapping here — Google Analytics receives event metadata about the submission, not the submitted field values themselves.


5. How It Works #

When a visitor submits the form:

  1. Contactum checks the form has the integration enabled and the global connection is configured.
  2. An event is sent to GA4 with your configured Event Name, along with form_id, form_name, entry_id, and page_title as event parameters.
  3. Each event uses a freshly generated random identifier rather than reading the visitor’s real GA cookie — this means the event will show up in GA4 as a form-submission conversion, but GA4 won’t be able to stitch it into that same visitor’s existing session or user journey.

GA4’s event-collection endpoint doesn’t send back a real confirmation of whether an event was accepted — Contactum treats a successful delivery to Google as a success, but this isn’t airtight proof the event was recorded on Google’s side. If events aren’t showing up in GA4’s real-time reports, double-check your Measurement ID/API Secret first.


Troubleshooting #

“Invalid Measurement ID or API Secret” #

  • Reconfirm both values were copied exactly from GA4 Admin → Data Streams → your stream.

Events aren’t showing up in GA4 #

  1. Confirm the form has Send GA4 Event for this form toggled on and saved.
  2. Check GA4’s Realtime report a few minutes after a test submission — GA4 reporting can lag.
  3. Reconfirm the Measurement ID and API Secret are still valid (a secret can be revoked/regenerated independently in GA4).

My event name changed unexpectedly #

  • Event names are automatically sanitized to letters, digits, and underscores, starting with a letter, and truncated to 40 characters. If your entered name doesn’t meet these rules, Contactum adjusts it — if the result becomes empty, it falls back to form_submission.

Notes #

  • Requires Contactum Pro with the Google Analytics module active — not available in the free plugin.
  • Auth method: Measurement ID + API Secret (GA4 Measurement Protocol) — not OAuth.
  • Credentials storage: stored in wp_options under the key contactum_google_analytics.
  • A failed or unconfirmed event never blocks the form — the visitor’s experience is unaffected either way.
Updated on September 16, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Google Calendar IntegrationGoogle Drive Integration

Powered by BetterDocs

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Requirements
  • 1. Get Your GA4 Credentials
  • 2. Connect Google Analytics in Contactum
  • 3. Enable Google Analytics on a Specific Form
  • 4. Configure the Event
  • 5. How It Works
  • Troubleshooting
    • "Invalid Measurement ID or API Secret"
    • Events aren't showing up in GA4
    • My event name changed unexpectedly
  • Notes

Contactum

The free WordPress form builder with unlimited entries, built-in spam protection, and 36+ Pro integrations.

Information

  • Features
  • Integrations
  • Templates
  • Pricing
  • Home
  • Features
  • Integrations
  • Pricing
  • Templates
  • Blog
  • Contact