Skip to content

WordPress integration

WordPress lead tracking, one snippet, from first visit to closed deal

One snippet in the site header, any theme and any page builder, and every form on the site reports its true source.

  • Live in 21 minutes
  • 95%+ accuracy, first-party
  • No developer required

How the data moves

WordPressOne snippet in the header
  • Any theme
  • Any page builder
Visits, form leads, sources

AI Attribution Engine

LeadJourneyServer-side tracking, multi-touch models, every channel in one place
  • Server-side tracking of every visit
  • Multi-touch attribution per lead
  • Won deals sent back to the ad platforms
Attributed leads, revenue
Your CRM and adsWhere leads and revenue land
  • Attributed leads
  • Deal revenue
  • Offline conversions

Paste the script once in the header and every form on the site reports its true source, whatever theme or page builder renders it.

Trusted by 100+ lead generation businesses, agencies and freelancers

  • Trading.de logo
  • Swedish Cold logo
  • Trustfactory logo
  • MLK Digital logo
  • CPC AG logo
  • DaxoMedia logo
  • Contentbär logo
  • Hivebuy logo
  • OBVIOUS logo

The gap

Your WordPress site collects the leads. It does not know where they came from.

GA4 counts the sessions and the form plugin stores the entries, and the two never meet. The deal lives in a third system connected to neither.

WordPress lead tracking today

Accurate about page views, silent about the person who filled in the form

  • GA4 runs through a plugin or GTM and counts sessions and events. A form submission is a number in a report, not a lead you can follow.
  • The form plugin stores the entry with a name and an email, and nothing about the ad, the search or the post that brought the visitor.
  • The GA tag fires in the browser, so ad blockers, Safari and declined consent banners remove a share of visits before they are counted, often the paid ones.
  • Hidden UTM fields, where somebody has wired them into the form, copy the last landing URL. The first click weeks earlier and every return visit are lost.
  • Each plugin keeps its own entries, so a site with a contact form, a demo form and a download form has three lead lists and no source column on any of them.
  • Nothing joins the entry to the deal in the CRM, so nobody can say which page or which form produced revenue.
  • The ad platforms hear about a form submission at most, so bidding optimises on the forms that are cheapest to fill, not on the ones that close.

WordPress with LeadJourney

One snippet, one journey per lead, from the first visit to the closed deal

  • One snippet in the head records every visit server-side, past ad blockers and declined banners, at 95%+ accuracy.
  • Every form on the site is recognised as it is submitted, whichever plugin or page builder renders it. No hidden fields to wire.
  • The anonymous journey, first click, return visits and click IDs included, is stitched to the lead the moment the form goes through.
  • The lead lands in your CRM with first touch, last touch, campaign and click ID already on the record.
  • Stage changes and the won amount are read back from the CRM, so every page and form is judged on revenue rather than on submissions.
  • The won deal goes back to Google, Meta, LinkedIn and Microsoft as an offline conversion with its value attached.
  • Change the theme, switch the builder or swap the form plugin: as long as the snippet is in the head, the tracking keeps running.

How it works

One snippet in, attributed leads and revenue out

Both steps run on their own once the snippet is in place: the first turns every form into a source of attributed leads, the second follows them to the deal and hands the result back to the ad platforms.

  1. 1

    WordPress lead tracking from the first visit to the form

    Install once. Every page and every form on the site starts reporting.

    WordPress

    The snippet sits in the head, through the Theme File Editor, a header scripts plugin or your GTM container, and loads on every page whatever theme or builder renders it.

    Google AdsMetaLinkedIn AdsGoogle

    Every visit arrives with its source: gclid, fbclid, li_fat_id and msclkid, the UTM parameters, the referrer and the landing page, recorded server-side.

    When any form on the site is submitted, LeadJourney stitches that anonymous journey to the new lead, first click included.

    Every lead carries its channel, campaign, landing page and the form it came through, live in the lead overview.

  2. 2

    The lead goes to your CRM, the deal comes back to your ads

    So the site is judged on revenue, not on how many forms were filled in.

    HubSpotSalesforcePipedriveAttio

    The lead lands in your CRM with first touch, last touch, campaign and click ID on the record, and LeadJourney reads stage changes and the won amount back as they happen.

    LeadJourney credits the revenue to the channels, pages and forms in the journey under the attribution model you chose.

    Google AdsMetaMicrosoft Ads

    The won deal goes back to the platform that produced the click as an offline conversion, with the deal value attached.

    Bidding optimises on revenue instead of form fills, and ROAS per channel is live next to organic and AI search.

Your CRM closes the loop

Your CRM shows what the WordPress lead was worth

Every form hands its lead to LeadJourney with the journey attached. LeadJourney follows it into the CRM and puts the deal value on the page, the form and the channel that produced it.

  • HubSpotTwo-way sync

    Contacts and Deals: the lead arrives with its journey, and stage, amount and close date are read back as they change.

  • SalesforceTwo-way sync

    Leads, Contacts and Opportunities, including custom objects where your deals live elsewhere.

  • PipedriveTwo-way sync

    Persons and Deals, with pipeline stage and won value.

  • AttioTwo-way sync

    People, Companies and Deals from your workspace.

  • CloseTwo-way sync

    Leads and Opportunities, with status changes as they happen.

Every form, one lead record

Contact form, demo request, quote, download: each submission becomes a lead with its first and last touch, whichever plugin rendered the form.

Pages and forms are judged on revenue

The landing page report shows which WordPress pages start the deals that close, not just the ones that collect the most submissions.

Won deals go back to the ads

Once the CRM marks the deal won, the outcome reaches Google, Meta, LinkedIn and Microsoft as an offline conversion with its value, so bidding learns which clicks become revenue.

Reporting

The questions GA4 on a WordPress site cannot answer

Every one of these is a report in LeadJourney rather than a plugin to configure. WordPress stays where the forms live, and LeadJourney shows what each page and form produced.

  • Which WordPress landing pages produce the leads that turn into deals?

  • Which form on the site brings in the highest value leads, the contact form or the demo request?

  • Which channel produced the revenue we closed last quarter, not just the submissions?

  • What does a closed deal cost us in ad spend, per channel and per campaign?

  • Which blog posts start journeys that end in revenue months later?

  • How many leads came from ChatGPT, Perplexity and Gemini last month?

LeadJourney and GA4 on WordPress

Where GA4 on your WordPress site ends and LeadJourney starts

GA4 through a plugin counts sessions, page views and events on your WordPress site, in aggregate. It does not know which visitor became which deal.

GA4 through a WordPress plugin compared with LeadJourney, capability by capability
WordPress lead trackingGA4 through a WordPress pluginA form submission is an event, counted once the plugin or GTM has been told which form to watch. No name is attached to it.With LeadJourneyEvery form on the site reports its lead with the full journey attached, and the lead is followed to the deal.
Where the tracking runsGA4 through a WordPress pluginIn the browser. Ad blockers, Safari and a declined consent banner stop the tag before the session is counted.With LeadJourneyServer-side and first-party, so the visit is recorded either way, at 95%+ accuracy.
Setup per formGA4 through a WordPress pluginEach form plugin needs its own event, through a GTM trigger, the plugin's analytics add-on or a hidden field.With LeadJourneyOne snippet in the head. Every form is recognised, whichever plugin or builder renders it.
The first clickGA4 through a WordPress pluginFirst user source exists, but it lives in a cookie Safari caps at seven days and a declined banner deletes.With LeadJourneyKept server-side and stitched to the lead at submit, with no window on how far back it reaches.
Ad spend and ROASGA4 through a WordPress pluginGoogle Ads cost arrives through the account link. Meta, LinkedIn and Microsoft spend need a manual cost import.With LeadJourneyPulled automatically from every connected ad account, so ROAS per channel is live.
CRM revenueGA4 through a WordPress pluginNot in the report unless somebody builds an import. A won deal never reaches the session that started it.With LeadJourneyRead from the CRM as deals move, and credited to the page, the form and the channel.
Conversions back to the ad platformsGA4 through a WordPress pluginKey events can be imported into a linked Google Ads account. Meta, LinkedIn and Microsoft receive nothing.With LeadJourneyWon deals go to every platform as offline conversions, with the deal value attached.
Consent and GDPRGA4 through a WordPress pluginThe tag sets cookies and needs consent for them. Consent mode fills in modelled estimates where it can.With LeadJourneyFirst-party by design, processed in the EU, with a DPA.
Keeping it runningGA4 through a WordPress pluginAn analytics plugin, a tag container and per form triggers to maintain through theme and plugin updates.With LeadJourneyOne line in the head, and it survives a theme change.

Keep GA4. Add the lead layer.

GA4 stays your view of traffic and content. LeadJourney fills in the piece underneath: which visit became which lead, what that lead was worth, and which ad should hear about it.

MCP server

Chat with your WordPress lead data

The same visits, forms and won deals are also served over MCP. Ask in Claude or ChatGPT which page or form produced revenue this month, and the answer comes from your own numbers.

LeadJourney MCP connected, try any tab

Which campaigns produced our closed revenue last month?

Based on your LeadJourney data, 3 campaigns produced 148,200 EUR of closed revenue last month:

Google Ads, Brand
38 leads, 9 closed deals, 61,400 EUR. Shortest path to signature.
LinkedIn, Retargeting
21 leads, 6 closed deals, 48,900 EUR. Seven touchpoints on average.
Meta, Lookalike DACH
54 leads, 5 closed deals, 37,900 EUR. Cheapest qualified lead.

Want this as a weekly summary in Slack?

Ask anything about your lead journeys

Where did our three biggest deals this quarter come from?

Your 3 largest deals this quarter all started somewhere the last click never showed you:

42,000 EUR
First touch LinkedIn Ads, closed 63 days later after a webinar signup.
28,500 EUR
First touch Google organic, paid click on day 11, demo on day 19.
21,800 EUR
First touch a Meta video view, form filled from email six weeks on.

Want the full touchpoint list for any of them?

Ask anything about your closed deals

Which landing pages turn LinkedIn traffic into qualified leads?

3 pages take your LinkedIn traffic, and the qualified rate between them runs from 4% to 18%:

/demo/attribution
18% qualified from 214 visits. Highest intent page on the site.
/guide/server-side
9% qualified from 612 visits. Most journeys stall after the download.
/pricing
4% qualified from 488 visits. Second most traffic, lowest intent.

Want the same breakdown for Google Ads traffic?

Ask anything about your landing pages

What did each channel cost per qualified lead last week?

3 channels spent budget last week. Cost per qualified lead ran from 41 EUR to 187 EUR:

LinkedIn Ads
41 EUR per qualified lead. 2,300 EUR spent, 56 qualified.
Google Ads
88 EUR per qualified lead. 4,400 EUR spent, 50 qualified.
Meta Ads
187 EUR per qualified lead. 3,740 EUR spent, 20 qualified.

Want an alert the moment a channel passes 120 EUR?

Ask anything about your cost per lead

What do the journeys that close have in common?

3 signals show up in most of your closed deals and in almost none of the lost ones:

Pricing page, 2+ visits
In 71% of closed deals. In 12% of the ones that never closed.
Demo within 14 days
In 64% of closed deals. Median 9 days from the first click.
Second contact
In 58% of closed deals. A colleague of the lead arrives on site.

Want these three scored onto every lead in your CRM?

Ask anything about your lead journeys

Setup

Tracking every form on your WordPress site in about 21 minutes

No developer, no plugin per form and no hidden fields.

  1. 1About 5 minutes

    Paste the snippet into the head

    On a classic theme open Appearance, Theme File Editor and paste it before the closing head tag in header.php; on a block theme the editor sits under Tools. A plugin such as WPCode does the same job and survives a theme update.

  2. 2About 10 minutes

    Connect your CRM and your ad accounts

    Sign in to the CRM your WordPress leads land in and to the ad accounts that send the traffic. From then on leads arrive in the CRM with their journey attached, and spend and campaigns come in from the platforms.

  3. 3Same day

    Ask which pages and forms produce revenue

    The first submission after the snippet is live shows up with its source. Map the CRM stages that count as conversions, and from then on every won deal goes back to the platform that produced the click.

Original reviews

What our customers wrote, word for word

4.9 out of 5 across 11 public reviews. Quoted as they were left, shortened only by dropping whole sentences.

  • 5 out of 5 starsGoogle

    Before LeadJourney, we had no reliable tracking concept for our five-figure ad spend. We were manually building spreadsheet and CRM reports, inaccurate and time-consuming. Within two days, everything was set up. For the first time, I know exactly what I pay per lead and which campaigns actually bring in the best-qualified prospects.

    Florian BuckCEO, Klickkraft GmbH
  • With LeadJourney we are able to track all our leads and connect them with sales and attribution data to make better decisions. In the first month of using it we scaled from 0 to 100k revenue from paid ads only.

    GetreachBacklinks Marketplace (SaaS)
  • 5 out of 5 starsG2

    LeadJourney finally fixed my Marketing Analytics. It goes way beyond basic Ad Tracking Software. The Customer Journey Report saves hours of digging, and capturing everything from Offline Conversions to AI Search Tracking makes it the Best B2B Attribution Platform available.

    Sascha LenzMarketing Manager
  • 5 out of 5 starsTrustpilot

    Connected LeadJourney for 2 clients, setup took literally 20 minutes each. The data became more accurate, the reports actually make sense. Now clients look at the dashboard and the 'why don't the numbers match?' questions are gone.

    Alexander SamarPerformance Marketing Agency
  • 5 out of 5 starsGoogle

    With LeadJourney, we have finally found a tool that provides us with the data we need to scale our performance marketing campaigns. The most important KPI is no longer lead price but cost per qualified lead.

    Steffen SiesingCEO, Bilanzmanufaktur GmbH
  • 5 out of 5 starsG2

    The ability to track both online and offline conversions in one unified dashboard has given us insights we never had before. Our ROI has improved dramatically since we started integrating LeadJourney with our CRM. We're finally able to see the full customer journey, and it's been a game changer for our strategy.

    Andre WitzelFounder, Trading.de
  • 5 out of 5 starsTrustpilot

    The ability to seamlessly integrate data from multiple channels and see real-time insights has significantly improved our campaign results. We now focus on metrics that truly matter, like ROI and qualified leads.

    Nikita YatsunCEO, RLV Media GmbH

FAQ

What WordPress site owners ask before pasting the snippet

If yours is not here, our team answers in the chat within a few minutes.

How does WordPress lead tracking work with LeadJourney?

One snippet in the head records every visit server-side with its source: click IDs, UTM parameters, referrer and landing page. When any form on the site is submitted, that anonymous journey is stitched to the new lead, and the lead is followed into your CRM to the deal. The result is a source, a landing page and a form on every lead, and revenue on every channel.

Where exactly do I paste the snippet in WordPress?

Anywhere that puts it in the head of every page. On a classic theme that is Appearance, Theme File Editor, header.php, before the closing head tag; on a block theme the Theme File Editor sits under Tools. If you would rather not edit theme files, a header scripts plugin such as WPCode, your theme's own head field or a Custom HTML tag in Google Tag Manager set to fire on all pages does the same job. A plugin or GTM also survives a theme update, which a direct edit to a parent theme does not.

Does it work with my theme and page builder?

Yes. The snippet runs in the head, outside the theme's templates, so it makes no difference whether the pages are built in the block editor, Elementor, Divi, Bricks, WPBakery or a classic theme. Elementor Pro users can also paste it under Custom Code with the location set to the head.

Which WordPress form plugins are supported?

Any form that is submitted from the page, including Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Fluent Forms, the forms built into Elementor and Divi, and embedded HubSpot forms. Forms that submit over AJAX without reloading the page are recognised too. Nothing has to be configured per form.

Do I need hidden UTM fields in my forms?

No. Hidden fields only ever copy the last landing URL, and they have to be added to every form by hand. LeadJourney keeps the whole journey server-side, first click included, and joins it to the lead at submit, so your forms stay as they are.

Does the snippet slow down my WordPress site?

It is one async script tag, so it does not block rendering, and the work happens on LeadJourney's servers rather than in the visitor's browser. Sites that watch their Core Web Vitals because they buy traffic are exactly who it was built for.

Does it work with caching plugins and a CDN?

Yes. The snippet is a plain script tag in the head, so WP Rocket, LiteSpeed Cache, W3 Total Cache or Cloudflare serve it like the rest of the page. The tracking calls go to LeadJourney rather than to your WordPress server, so page caching neither blocks them nor slows them down.

Do I need a developer?

No. Pasting the snippet is the only technical step, and a header scripts plugin turns it into a settings screen. Connecting your CRM and ad accounts is an OAuth sign in each, and most sites are live in about 21 minutes. Our team will do it with you on a call if you prefer.

Is it GDPR compliant, and does it work with my cookie consent plugin?

Yes. LeadJourney tracks first-party and server-side, so it sits alongside Complianz, CookieYes, Borlabs Cookie or whichever banner you run, and it respects consent decisions rather than working around them. Data is processed and stored in the EU and we sign a data processing agreement.

What does it cost?

The WordPress integration is part of the platform rather than a paid add on. Plans are priced on tracked events instead of seats, so your whole team and your agency can share one workspace, and every plan starts with a 14 day free trial without a credit card.

A deal closes months after the form was submitted. Is it still attributed to the right page?

Yes. The journey has no window: the first visit, the return visits and the form submission stay joined to the lead for as long as the deal takes, and once the CRM marks it won the revenue is credited to the pages, forms and channels in that journey. GA4's attribution windows do not apply, because the join happens in LeadJourney.

95%+ accuracy, from WordPress visit to closed deal

See which WordPress forms produce revenue with LeadJourney

Paste the snippet, connect your CRM, and watch every lead line up against the page, the form and the channel that produced it.

LeadJourney dashboard showing lead sources, campaign performance and attributed revenue side by side