How to integrate Google Analytics data into Eloqua
Google Analytics can show where visitors came from, but for lead-driven businesses it does not by itself show how many leads, customers or revenue each campaign produced. Passing channel and landing-page data through your forms into Eloqua closes that gap, so every contact record carries its origin.
The four-step workflow
The workflow has four stages. First, install a small script on the website and add hidden fields to lead forms. Second, the script categorises each visitor's origin and stores it in a cookie so it persists while they browse or if they return later. Third, on form submission the stored values are written into the hidden fields and sent to Eloqua alongside the visitor's name, email and other details. Fourth, report on the enriched contact records in Eloqua or a connected reporting tool.
Step 1: Install the script and add hidden fields
Install the script using the instructions for your website platform, whether WordPress, Webflow or a custom build. Then add six hidden fields to each lead form: Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. Most form builders, including Eloqua forms, Gravity Forms, Typeform and Jotform, support hidden fields natively.
Step 2: Capture and store the visitor's origin
When a visitor arrives, the script determines where they came from using the same categorisation approach as Google Analytics, grouping them into channels such as Paid Search, Paid Social or Organic Search. That classification is saved in a cookie. When the visitor later submits a form, the script fills the hidden fields from the cookie, so the origin is captured even if the visit spanned multiple sessions.
Step 3: Pass the data into Eloqua and report
On submission, the hidden-field values travel into Eloqua with the contact's own details. Because the data sits on the contact record, it can be used in Eloqua reports or exported to tools such as Salesforce, Tableau or Looker. You can then compare channels by leads generated, see which Google Ads campaigns produce customers, and attribute revenue to Facebook Ads and other campaigns.
What data is passed
Two kinds of data are passed. Marketing channel data records the broad channel plus drilldown detail: for Paid Search this can include the source, campaign and keyword taken from UTM parameters; for Organic Search it can include the search engine, domain and keyword where available. Landing page data records the first page the lead saw and its category, so you can report on whole site sections such as a blog as well as individual pages.
Three example reports
Three reports illustrate the value. Leads by channel gives a high-level view of what is working; if most leads come from Paid Search while most budget goes to Paid Social, that mismatch is a prompt to revisit allocation. Customers by Facebook ad network shows which Meta properties, such as Instagram, Messenger or WhatsApp, produce customers. Revenue from organic search by search engine shows the return on SEO investment, which can support the case for more budget despite SEO's longer time to impact.
| Field | What it records | Example |
|---|---|---|
| Channel | Broad marketing channel | Paid Search |
| Channel Drilldown 1 | Source, from utm_source | |
| Channel Drilldown 2 | Campaign, from utm_campaign | Brand Campaign |
| Channel Drilldown 3 | Keyword or term, from utm_term | Asana |
| Landing Page | First page the visitor saw | asana.com/features/task-management |
| Landing Page Group | Category of the first page | Features |
Examples depend on the UTM parameters used on the campaign.
| Report | Question it answers | Decision it supports |
|---|---|---|
| Leads by Channel | How many leads per channel? | Budget allocation between channels |
| Customers by Facebook Ads Network | Which Meta property produces customers? | Where to invest ad time and budget |
| Revenue from Organic Search by search engine | How much revenue does SEO generate? | Whether to increase SEO budget |
Reporting is done in Eloqua or a connected tool such as Salesforce, Tableau or Looker.
Frequently asked questions
How does Google Analytics data reach a contact record in Eloqua?
Add a small website script that records the visitor's channel using Google Analytics-style categorisation, stores it in a browser cookie, and writes it into hidden form fields at submission. Those fields then travel with the contact details into Eloqua.
Which fields need to be added to lead forms?
Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. Together they distinguish the broad channel, its source and campaign detail, and the first page the visitor saw.
What reports become possible once the data is in Eloqua?
Leads by channel for a high-level view, customers by Facebook ad network to compare Meta properties, and revenue from organic search by search engine to assess SEO contribution.