weeveo
  • Features
  • How it works
  • Revenue
  • Agents
  • Pricing
  • Docs
Sign in
Start free
weeveoanalytics

Understand your traffic.See what leads to sales.

See where visitors come from, what they do and which visits lead to purchases. Basic statistics without a popup. Recordings require permission.

Start freeService status

© 2026 Weeveo. All rights reserved.

Product

  • Features
  • Revenue reporting
  • Realtime
  • Funnels & journeys
  • Pricing

Developers

  • Documentation
  • Agents & MCP
  • Browser SDK
  • REST API
  • Start free
  • Sign in

Company

  • Changelog
  • Support
  • Contact
  • Privacy policy
  • Terms of service
  • Refund policy
  • Status

weeveo

Skip to content
Documentation home
Start here
Meet WeeveoYour first siteFind your way aroundCore concepts & metrics
Install & track
Install the trackerFramework & CMS recipesTracker configurationBrowser SDK referenceConsent & your CMPVisitor identity & payment matchingVerify your installationCustom tracking domains
Understand your traffic
Overview & realtimeDates, filters & comparisonsSources & campaignsPages & engagementEvents & visitor timelinesExplore, paths & saved viewsTraffic quality & anomalies
Conversions & revenue
Goals & conversionsFunnels & bottlenecksRetention cohortsRevenue reportingConnect a payment providerAttribution modelsCustomer journeysAll payment providers
Experience & performance
Session replaysClick & scroll heatmapsWeb Vitals & performance
Developers & agents
Connect ChatGPT, Claude & agentsCreate & manage API keysREST API quickstartAnalytics query referenceErrors, limits & safe retriesJavaScript & Python examplesMCP transport & tool discoveryOAuth discovery & authorizationPermissions & write consentAsk Weeveo & saved chatsApp identity & plugin metadataHTTP surface referenceAll API & MCP tools
Workspace & privacy
Workspaces & multiple sitesTeam, roles & invitationsSite preferences & notificationsPublic reports, embeds & badgesAccount & securityPrivacy & collection controlsVisitor export & erasure
Operate Weeveo
Background jobs & maintenanceTroubleshooting & common questionsQuestions & analysis recipes
Building something?Explore every API tool Download JSON reference ↗
DocsInstall & track
Install & track

Consent & your CMP

Connect your existing banner without collecting before permission.

On this page
Choose a consent modeExternal CMP integrationChange optional purposesInspect and reactMissing data after acceptance

Choose a consent mode#

The built-in banner offers analytics with separate optional recording and identification choices. External mode delegates the choice UI to your CMP. Both modes require the site's valid HTTPS notice and enabled collection. Cookieless mode also requires consent.

External CMP integration#

  1. Install the tracker with data-consent="external" and your HTTPS privacy notice.
  2. Wait until the tracker is ready and the CMP has a valid visitor decision.
  3. Grant analytics only after the visitor allows it; pass optional purposes only when separately allowed.
  4. Call denied immediately when the visitor withdraws analytics permission. Your CMP must persist and restore the decision in external mode.
javascript
window.weeveo.setConsent("granted", {
  recording: false,
  identification: false
});

// Analytics withdrawal stops collection and clears persistent identity.
window.weeveo.setConsent("denied");

Change optional purposes#

Call setConsent again with the complete current set of allowed purpose flags. Omitting a flag makes that purpose false. A purpose flag does not enable a server-disabled feature or override DNT/GPC. Recording is also blocked on private paths.

Inspect and react#

javascript
window.addEventListener("weeveo:consent", () => {
  const choice = window.weeveo.getConsentRecord();
  console.log(choice.status); // Keep actual visitor choices out of public logs.
});

Built-in choices are versioned and expire after 180 days; changed notice URL, mode or consent version can invalidate them. A refusal in another tab stops collection. A cross-tab grant does not silently broaden this tab's purposes.

Missing data after acceptance#

Inspect getConsentRecord(), hostname settings, the HTTPS notice, server collection state and browser privacy signals. Accepting a banner does not override exclusions. See verification.

Still looking for an answer? Try troubleshooting or get in touch.

PreviousBrowser SDK referenceNextVisitor identity & payment matching
ON THIS PAGE
Choose a consent modeExternal CMP integrationChange optional purposesInspect and reactMissing data after acceptance
Your sites. Your permission.

Start with read access. Grant changes when you need them.

Understand access

Search Weeveo documentation

Good places to start

Start hereYour first siteGo from a new workspace to your first verified visit.Install & trackInstall the trackerOne shared script, configured for your site and consent policy.Install & trackBrowser SDK referenceTrack actions, inspect consent and identify a permitted persistent visitor.Developers & agentsConnect ChatGPT, Claude & agentsUse OAuth sign-in for hosted agents, with optional API keys for other clients.Developers & agentsAnalytics query referenceExact shared date, traffic, comparison and filter parameters.Developers & agentsAll API & MCP toolsEvery tool, argument schema and permission in the shared registry.
K to open↑ ↓ to select · Enter to open · Esc to close