Detecting Google Discover Traffic for Access
Detecting visitors coming from Google Discover allows you to offer a more relevant experience, better suited to their reading context: more direct content, a lighter paywall, or a personalized message, for example.
It is possible to know if a user comes from Google Discover in order to:
- Set up a specific context in Access
- And therefore adapt the rendering based on the traffic source
Retrieving the Information
Google does not provide very transparent information about visits coming from Discover.
Currently, the following method is the best available solution to try to identify these users, even if it is not 100% reliable:
function detectGoogleDiscover() {
const ref = document.referrer || "";
const ua = navigator.userAgent || "";
const isGSA = ua.includes("GSA/");
const isIOS = /iPhone|iPad|iPod/.test(ua);
const isAndroid = ua.includes("Android");
const isCriOS = /CriOS\//.test(ua);
return (
ref.startsWith("android-app://com.google.android.googlequicksearchbox") ||
(isGSA && isAndroid && ref === "https://www.google.com") ||
(!ref && isGSA && isIOS) ||
(isCriOS && isIOS && ref === "https://www.google.com")
);
}
This method provides a usable signal to detect the majority of Discover visits, but it does not guarantee complete detection for all users.
Pass the information to Poool
Once the information is detected, you can pass it to Poool and create the corresponding targeting in your Dashboard.
Custom context creation
On the technical side, you should create a custom context 👉 https://www.poool.dev/en/docs/access/javascript/configuration#context
This approach remains the best current solution to identify Discover traffic and use it effectively in Access, allowing you to adapt the user experience based on the acquisition source.
Updated on: 02/06/2026
Thank you!

