Know docs
Turn automatic pageviews and meaningful goal events into aggregated customer paths.
The tracker records the current pathname and observes browser history navigation. Know groups repeated routes into aggregate journeys and hides paths followed by fewer than three visitors.
Keep normal routing intact. Adding a custom event named “journey” would not create a journey report.
Pageviews explain where visitors went. Goal events explain what they successfully did on those pages, making funnels and journey conversion counts more useful.
// Pageviews are automatic. Add goal events only for meaningful actions.
window.know?.("onboarding_step_completed", { step: "profile" });
// There is no separate window.know("journey") call./pricing and /checkout/success.Sign in and select a website to replace all placeholders automatically.
Work in the codebase for https://YOUR_WEBSITE_DOMAIN. Know configuration: - Registered domain: YOUR_WEBSITE_DOMAIN - Site ID: YOUR_SITE_ID - Tracker: https://www.know.am/t.js - Event collector: https://collect.know.am/e - Configured goal events: none configured yet Task: Prepare the application for useful Know customer journeys. Requirements: 1. Confirm the Know tracker is installed once in the global layout and observes client-side route changes. 2. Review the important customer path and keep stable, human-readable pathnames without query strings. 3. Add goal events for meaningful successful actions that cannot be represented by a page visit. Reuse onboarding_step_completed where appropriate. 4. Do not manually send pageviews and do not invent a journey() call; Know builds aggregated journeys from the existing pageviews and goals. 5. Verify the intended path in production and report the expected ordered route and event sequence. Privacy and implementation rules: - Inspect the project and find the real successful application state before editing. - Keep the existing Know tracker installed exactly once; do not add another analytics package. - Never send names, e-mail addresses, credentials, authorization data, payment-card data, health data, cookies, raw IP addresses, query strings, or request bodies. - Preserve the current design, authentication, redirects, middleware, and server/client boundaries. - Run the existing tests and production build, then report changed files and exact verification steps. Make the code changes now.