Skip to main content
← Back to Blog

Product launch

Foglift Sensor Now Covers WordPress, Wix, Next.js, and Edge

Foglift Sensor records recognized AI referrals and crawler requests across server, edge, WordPress, and hosted-site installs, with an explicit evidence boundary for every path.

The missing first-party layer

Foglift Sensor now gives Next.js, Express, Node.js, Cloudflare, WordPress, nginx, Wix, and static-site teams a supported installation path for first-party AI traffic evidence. Server-capable installs can observe recognized crawler requests and AI referrals. Hosted browser installs measure referrals and keep the crawler boundary explicit.

AI Visibility monitoring answers a question about the answer layer: when a user asks an engine about your category, does the engine name or cite your brand? That signal is useful, but the engine does not send a prompt-level conversion report to your analytics stack. Your site sees only the requests and referrals that reach it.

Foglift Sensor adds that first-party layer. Server and edge adapters classify matching crawler requests and recognized referrals. A hosted browser pixel gives static and no-code sites a simpler referral-only path. Both surfaces aggregate the matched engine, landing path, and time period without cookies or fingerprinting.

Two signals, one install

A server or edge adapter can inspect both the User-Agent and Referer headers. A documented crawler match becomes a crawler event. A request from a recognized AI assistant host becomes a referral event. The browser pixel sees only the page view and document referrer, so it can report recognized referrals but cannot detect crawler requests.

The signals answer different questions. A crawler event shows that a request carrying a documented agent identity reached the installed adapter for a specific path. It does not establish successful access, indexing, training, citation, or recommendation. A recognized referral shows that a visitor arrived from a supported AI assistant host. It identifies the landing page, but it does not expose the prompt or the exact answer the visitor saw.

Landing-page context without inventing prompts

Each recognized referral includes the normalized landing path. That gives you useful context about what the visitor chose to open, while keeping the limits of the evidence visible.

Consider a concrete example. Imagine your B2B SaaS product is a project management tool. Over a week your Sensor logs the following referral visits:

  • A visitor from ChatGPT lands on /pricing. A pricing-shaped prompt is one hypothesis to compare against your monitored prompt set and the timing of recent answer checks.
  • A visitor from Perplexity lands on /integrations/asana. The path suggests integration intent, but the original prompt and answer remain unknown.
  • A visitor from Claude lands on the homepage. The event confirms the referring host and landing path. It cannot distinguish a brand link, a cited source, or another link inside the assistant experience.
  • A visitor from Gemini lands on /blog/agile-sprint-planning. The content topic gives you a candidate intent cluster to test in your prompt monitoring panel.

Landing paths support hypotheses about intent clusters. They do not reconstruct prompts. Compare repeated path patterns with a fixed prompt-monitoring panel, on-site conversions, and the timing of content changes. That combined view can show whether pricing, feature, comparison, or educational pages attract recognized AI referrals.

Treat the result as directional attribution. A referral event is strong evidence about origin and destination. It is weak evidence about the unseen prompt and answer. Keeping those grades separate prevents a useful first-party signal from becoming an unsupported citation claim.

Install

Choose the path that matches what your stack can observe. The package ships adapters for Next.js, Express, plain Node.js HTTP servers, and Cloudflare Workers. Foglift Sensor uses a publishable workspace identifier for new installs on every plan. These server and edge paths can classify both crawler requests and recognized referrals.

StackInstall pathEvidence recorded
Next.js, Express, or Node.jsPublished npm adapterRecognized crawler requests and AI referrals
Cloudflare WorkersEdge adapterRecognized crawler requests and AI referrals before origin
WordPressFoglift AI Traffic plugin 0.1.0Recognized crawler requests and AI referrals handled by WordPress
nginxNon-blocking request mirrorRecognized crawler requests, including requests served before the application
WixSanctioned embedded-script appRecognized AI referrals and visits from JavaScript-executing agents
Static and no-code sitesHosted browser pixelRecognized AI referrals only
npm install @foglift/tracker

The Next.js install is a four-line middleware:

// middleware.ts
import { trackAITraffic } from "@foglift/tracker/nextjs";

export const middleware = trackAITraffic({
  siteToken: "YOUR_WORKSPACE_ID",
});

export const config = {
  matcher: ["/((?!_next/static|_next/image|favicon.ico).*)"],
};

Express:

import express from "express";
import { trackAITraffic } from "@foglift/tracker/express";

const app = express();
app.use(trackAITraffic({ siteToken: "YOUR_WORKSPACE_ID" }));

Plain Node.js HTTP servers and Cloudflare Workers each have their own export with the same shape. Use the Next.js installation guide for middleware composition and request-lifetime reporting. The Cloudflare Workers guide covers route assignment, ctx.waitUntil, and edge verification. The full adapter reference remains on the Foglift Sensor product page.

Copy the workspace ID from the AI Traffic setup panel. The ID is publishable and can appear in site configuration. Each server adapter derives the request hostname, and Foglift accepts the event only when that hostname belongs to the workspace. Existing API-key installs remain supported for backward compatibility.

WordPress sites can install the downloadable Foglift AI Traffic 0.1.0 plugin. It requires WordPress 6.0 and PHP 7.4 or newer, uses a publishable workspace token, and records recognized crawler requests plus AI answer referrals when WordPress handles the request. Full-page caches can answer before WordPress runs, so cache-served crawler requests require the nginx path below. The WordPress installation guide covers the five-step setup and verification flow.

Wix sites use the sanctioned Foglift app rather than a pasted Custom Code snippet. Open Connections, choose Install Wix app, and approve the Wix consent screen. The app records recognized AI referrals and visits from JavaScript-executing agents. Wix does not expose classic server-side crawler logs to apps, so the Wix path does not claim crawler-request coverage.

Other static and no-code sites can use the hosted browser pixel with the public workspace identifier shown in the AI Traffic setup panel. This path records recognized referrals only. It cannot observe crawler requests because most crawlers do not execute page JavaScript.

<script async
  src="https://foglift.io/pixel.js"
  data-foglift-brand="WORKSPACE_UUID"></script>

Sites behind nginx, including cache-fronted WordPress installs, can mirror matching crawler requests before the application cache answers. The nginx Sensor guide provides a generated, public-token configuration and requires an nginx -t validation before reload.

What changes when you have this data

Three things, in increasing order of leverage.

First, the crawler feed shows which documented agents requested which paths. A new page may receive OAI-SearchBot, GPTBot, or Claude-SearchBot requests at different times. That history helps you diagnose crawler access and coverage. A request does not prove successful indexing or a later citation, and an absent request is inconclusive until you inspect the observation window, robots policy, CDN, and WAF logs.

Second, the referral feed shows which pages receive recognized AI-assistant traffic. Three Perplexity referrals to one page establish three visits from that supported host during the measured period. They do not reveal whether the link appeared as a formal citation, a product link, or another assistant surface. Zero referrals means only that the Sensor observed no matching click in that window.

Third, landing-page patterns give prompt monitoring a better place to look. If three of ten ChatGPT referrals land on /pricing, add or inspect pricing-shaped prompts in your fixed monitoring panel. If integration pages dominate, test the relevant comparison and migration prompts. The prompt panel supplies the answer-layer evidence that referral logs cannot provide.

Why this ships now

AI Visibility and website analytics measure different parts of the journey. Prompt monitoring measures answer presence, citations, and competitors. Request and referral analytics measure what reaches your site. Joining those layers with conversions gives operators a more complete view without pretending that any single event proves the whole path.

Foglift Sensor classifies the request data already available at the browser, server, or edge layer. Foglift AI Visibility monitoring covers the answer layer. Use both with your conversion analytics to separate crawler access, answer visibility, recognized referral traffic, and business outcomes.

Sources & Further Reading

Frequently asked questions

How is Foglift Sensor different from AI Visibility Checks?

AI Visibility Checks measure what selected engines say for a fixed prompt set. Foglift Sensor measures first-party site events. A recognized AI referral proves that a visitor arrived from a supported assistant host and identifies the landing page. A server-side crawler event proves that a matching request reached your server or edge adapter. Neither event reveals the exact prompt, indexing state, or citation that preceded it.

What gets reported per visit?

Sensor reporting aggregates the matched engine or crawler, normalized landing path, and time bucket. Server and edge adapters can classify crawler requests and recognized AI referrals. The hosted browser pixel can report recognized referrals only because browser JavaScript cannot observe a crawler request that never executes the page. Query strings are stripped, and the Sensor does not use cookies or fingerprinting.

Which AI engines are detected?

Server and edge adapters identify documented agents such as OAI-SearchBot, GPTBot, ChatGPT-User, Claude-SearchBot, ClaudeBot, Claude-User, PerplexityBot, and Perplexity-User. The hosted browser pixel identifies supported AI referrer hosts such as chatgpt.com, claude.ai, perplexity.ai, gemini.google.com, copilot.microsoft.com, and notebooklm.google.com. Google-Extended is a robots.txt control token and has no separate HTTP user-agent string.

Does Foglift Sensor work with WordPress and Wix?

Yes. The downloadable Foglift AI Traffic plugin for WordPress 6.0 and PHP 7.4 or newer records recognized crawler requests and AI referrals when WordPress handles the request. The Wix app records recognized AI referrals and visits from JavaScript-executing agents through Wix's sanctioned embedded-script channel. Wix does not expose classic server-side crawler logs to apps.

What does Foglift Sensor cost?

Foglift Sensor uses a publishable workspace identifier for new browser, server, and edge installs. It works on every plan and is bound to the workspace hostname. Existing API-key installs remain supported. Sensor events are rate-limited and count against the applicable workspace quota.

Get started

Open the AI Traffic setup panel and choose the install path for your stack. Use a server, edge, WordPress, or nginx path when you need crawler evidence. Use the Wix app or hosted pixel when the platform exposes browser-level referral evidence only. The Portal page at foglift.io/app/data/crawlers renders both feeds side by side, with referrals on the primary tab and crawlers on the secondary. The product page at foglift.io/sensor covers the full adapter list, the FAQ, and the install snippets in one place.

New server, edge, nginx, and browser installs use the publishable workspace identifier shown inside the Portal on every plan. Server, edge, and nginx paths can record crawler requests. The browser pixel reports recognized referrals only. Start with the install path your stack supports, then compare the resulting traffic with a fixed AI Visibility prompt panel and your conversion data.

Fundamentals: Learn about GEO (Generative Engine Optimization) and AEO (Answer Engine Optimization) (the two frameworks for optimizing your content for AI search engines).

Related reading

Free tool

Run a free Technical Audit for your AI Readiness Score

Audit any URL in 30 seconds. See scores for SEO, AI Readiness, performance, security, and accessibility.

Free Technical Audit

No signup required. Results in 30 seconds.