Connect your website to Know
Sign in, choose your website, and open Site Settings. Copy the tracking script shown for that website into your site’s HTML before the closing head tag.
One script per website
Use the exact script and site ID from Site Settings. Existing Know installations continue to collect events. Avoid installing the tracker twice.
Check your installation
Visit your website, then open Main in Know to check recent activity. Pages, Sessions, Users, and Events show the traffic collected by your installation.
Conversions
Open Goals to create a page or custom event goal. Use Funnels to measure the steps visitors take toward a conversion.
Custom events and user identity
After the tracking script loads, send an event with window.knowAnalytics.event("signup", { plan: "pro" }). To associate visits with a signed-in user, call window.knowAnalytics.identify("your-user-id"). Use window.knowAnalytics.clearUserId() when they sign out.
Feature flags and experiments
Copy the implementation snippet from Feature Flags or Experiments. Use window.knowAnalytics.onReady before reading a flag, so its configuration has loaded before you render a variant.
API access
Open API Playground from your site's dashboard to inspect endpoints, parameters, and responses. Manage API keys under Settings → Account. Keep secret keys on your server.
Troubleshooting and support
Confirm that the script is present on the published page, its site ID matches Site Settings, and requests to the collection endpoint succeed. Check your content security policy, consent settings, and browser extensions if no activity appears. For setup help, contact hello@know.am.