# Loogika documentation > Documentation for Loogika, cookieless web analytics with rank tracking for Google, Bing and AI answers. It covers the tracking script, install guides for each framework and platform, the dashboard, the MCP server and the REST API. - The tracking script loads from https://app.loogika.com/api/script.js with your site ID. The script page below shows the full tag and its options. - The API base URL is https://app.loogika.com/api. API access is included in the Business and Agency plans. - Product pages, prices and comparisons are listed in https://loogika.com/llms.txt. ## Tracking and settings - [Loogika Documentation: Setup and Tracking Guides](https://loogika.com/docs): Install the Loogika tracking script, send custom events and read your reports. Guides for setup, tracking, settings and the API. - [Account Settings in Loogika](https://loogika.com/docs/account-settings): Change your name, email, password and language, manage personal API keys and delete your account. What each account setting does. - [Chart Annotations in Loogika](https://loogika.com/docs/annotations): Pin a note to a date on your traffic chart. Annotations mark launches, campaigns and outages, so a later reader sees why the line moved. - [Autocapture: Events Loogika Tracks for You](https://loogika.com/docs/autocapture): Loogika can record outbound clicks, errors, button clicks, copied text and form activity without extra code. See what each one stores. - [Billing and Plans in Loogika](https://loogika.com/docs/billing-settings): How Loogika plans are billed: per organization, by monthly events, in euros. See what counts as an event and what each plan includes. - [Bot Detection in Loogika: How It Works](https://loogika.com/docs/bot-detection): Loogika checks every request against five signals and keeps bots out of your reports. See what each signal looks at and what the Bots report shows. - [Custom Dashboards and SQL Queries](https://loogika.com/docs/dashboards): Query your event data with SQL and build your own dashboards from the results. See the table, the limits and the chart types you can use. - [Import Data From Umami or Plausible](https://loogika.com/docs/data-import): Bring your history into Loogika from Umami, Plausible or Simple Analytics. See the file formats, the limits and how to fix skipped events. - [Analytics Definitions: Metrics in Loogika](https://loogika.com/docs/definitions): What Loogika means by unique users, sessions, bounce rate and the other terms in your reports, and how each number is calculated. - [Filter Traffic With Exclusion Rules](https://loogika.com/docs/filter-traffic): Exclude traffic by IP address, country, path, hostname or user agent. See the formats each rule accepts and what happens to excluded events. - [Build a Conversion Funnel in Loogika](https://loogika.com/docs/funnels): Define the steps toward a conversion and see how many sessions reach each one. This guide covers step types, patterns and how to read the report. - [Set Up Conversion Goals in Loogika](https://loogika.com/docs/goals): Create a goal from a page, a custom event or a captured interaction. Loogika counts the sessions that reach it and shows the conversion rate. - [Exclude Your Own Visits From Loogika](https://loogika.com/docs/hiding-own-traffic): Keep your own visits out of your reports. Exclude an IP address or a range in Site Settings, or switch tracking off in one browser. - [Identify Logged-In Users in Loogika](https://loogika.com/docs/identify-users): Link sessions to your own user IDs with identify(). See how traits work, what happens to earlier anonymous visits and what to tell your users. - [Invite Team Members to Loogika](https://loogika.com/docs/inviting-users): Invite colleagues and clients to your Loogika organization. Choose a role, limit the sites they can open and add them to a team. - [Keyboard Shortcuts in Loogika](https://loogika.com/docs/keyboard-shortcuts): Change the date range, control session replay and save dashboard edits from the keyboard. The full list of Loogika shortcuts. - [Track Localhost With Loogika, or Keep It Out](https://loogika.com/docs/localhost-tracking): Loogika tracks localhost by default. See how to test your install locally and how to keep development visits out of your production data. - [Organization Settings and Roles](https://loogika.com/docs/organization-settings): Manage members, roles and organization API keys. See what owners, admins and members can do in a Loogika organization. - [Rollup: All Your Sites on One Page](https://loogika.com/docs/rollup): Rollup adds up the traffic for every site in your organization. Compare sites, filter by team and see the totals without opening each one. - [Install the Loogika Tracking Script](https://loogika.com/docs/script): Add one script tag to start tracking. This guide covers installation, script attributes, single-page apps and session replay options. - [Loogika Script Not Tracking? How to Fix It](https://loogika.com/docs/script-troubleshooting): No data in your dashboard? Check that the script loads, that the site ID is right and that nothing blocks the requests. Step-by-step fixes. - [Segments: Save and Reuse Filters](https://loogika.com/docs/segments): A segment is a saved set of filters with a name. Create one once and apply it to dashboards, funnels, journeys, retention and exports. - [Site Settings in Loogika: Every Option](https://loogika.com/docs/site-settings): A tab-by-tab guide to Site Settings: privacy, tracking, exclusions, Search Console, embeds, import and usage, with the default for each switch. - [Tag Your Traffic With data-tag](https://loogika.com/docs/tagging): Add one label to every event from a page with the data-tag attribute. Use it to compare page variants, releases or groups of visitors. - [Teams: Control Who Sees Which Sites](https://loogika.com/docs/teams): A team groups sites and members. Use teams to give each client or department access to its own sites and nothing else. - [Track Custom Events in Loogika](https://loogika.com/docs/track-events): Send custom events with a data attribute or one line of JavaScript. See the syntax, the limits and how to add properties to an event. ## Install guides - [Install Guides for Every Platform](https://loogika.com/docs/guides): Step-by-step guides for adding the Loogika tracking script to your CMS, website builder, framework or shop. Pick your platform and start measuring. - [Add Loogika Analytics to Angular](https://loogika.com/docs/guides/angular): Add the Loogika tracking script to an Angular app through src/index.html. Covers Angular Router pageviews, custom events in TypeScript and common fixes. - [Add Loogika Analytics to ASP.NET Core](https://loogika.com/docs/guides/aspnet): Add the Loogika tracking script to an ASP.NET Core MVC or Razor Pages app through _Layout.cshtml, with the site ID stored in appsettings.json. - [Add Loogika Analytics to Astro](https://loogika.com/docs/guides/astro): Add the Loogika tracking script to an Astro site through the shared layout. Covers the is:inline attribute, view transitions and custom events. - [Add Loogika Analytics to BigCommerce](https://loogika.com/docs/guides/bigcommerce): Add the Loogika tracking script to a BigCommerce store with Script Manager or the head.html theme file, and send a purchase event from the order page. - [Add Loogika Analytics to Blazor](https://loogika.com/docs/guides/blazor): Add the Loogika tracking script to a Blazor Web App, a standalone Blazor WebAssembly app or a Blazor Server app. Each hosting model has its own file. - [Add Loogika Analytics to a Bolt App](https://loogika.com/docs/guides/bolt): Add the Loogika tracking script to a Bolt app with a chat prompt or in Code view. Covers the file to edit, publishing and how to keep the tag in place. - [Add Loogika Analytics to Bubble](https://loogika.com/docs/guides/bubble): Add the Loogika tracking script to a Bubble app through the SEO / metatags settings, then send events from workflows with a Run JavaScript action. - [Add Loogika Analytics to Capacitor](https://loogika.com/docs/guides/capacitor): Add the Loogika script tag to a Capacitor app in index.html and enable CapacitorHttp so tracking also works in the iOS WebView. Includes common faults. - [Add Loogika Analytics to Carrd](https://loogika.com/docs/guides/carrd): Add the Loogika tracking script to a Carrd site through the Head field under Embed Code. Covers the Carrd plan you need and the publish step. - [Add Loogika Analytics to a Chrome Extension](https://loogika.com/docs/guides/chrome-extension): Track a Manifest V3 Chrome extension with Loogika. Remote script tags are blocked there, so you send pageviews and events to the HTTP API with fetch. - [Add Loogika Analytics to Circle](https://loogika.com/docs/guides/circle): Add the Loogika tracking script to a Circle community through Code snippets in Settings. Covers member pages, custom domains and common mistakes. - [Add Loogika Analytics to ClickFunnels](https://loogika.com/docs/guides/clickfunnels): Add the Loogika tracking script to ClickFunnels 2.0 for a whole workspace, one funnel or a single page, and avoid counting pageviews twice. - [Add Loogika Analytics to Contentful](https://loogika.com/docs/guides/contentful): Contentful is headless, so the Loogika tag goes into the frontend that shows your content. See where to put it and how to keep editor previews out. - [Add Loogika Analytics to Craft CMS](https://loogika.com/docs/guides/craft-cms): Add the Loogika tracking script to the base Twig template of a Craft CMS site. Covers template caching, Live Preview and several base templates. - [Add Loogika Analytics to Discourse](https://loogika.com/docs/guides/discourse): Add the Loogika tracking script to a Discourse forum with a theme component. No plugin or server access is needed. Includes fixes for common problems. - [Add Loogika Analytics to Django](https://loogika.com/docs/guides/django): Add the Loogika tracking script to a Django project through the base template. A context processor passes the site ID from settings.py to every page. - [Add Loogika Analytics to Docusaurus](https://loogika.com/docs/guides/docusaurus): Add the Loogika tracking script to Docusaurus through the scripts option in docusaurus.config.js. Includes a React button that sends custom events. - [Add Loogika Analytics to Drupal](https://loogika.com/docs/guides/drupal): Add the Loogika tracking script to Drupal by overriding html.html.twig in your theme. Includes the steps for clearing the Drupal cache afterwards. - [Add Loogika Analytics to Duda](https://loogika.com/docs/guides/duda): Add the Loogika tracking script to a Duda site through Head HTML in the site settings. Covers single-page tracking and the republish step. - [Add Loogika Analytics to Ecwid](https://loogika.com/docs/guides/ecwid): Add the Loogika tracking script to an Ecwid Instant Site or an embedded Ecwid store, and send a purchase event when a customer places an order. - [Add Loogika Analytics to Electron](https://loogika.com/docs/guides/electron): Add the Loogika script tag to an Electron renderer, allow app.loogika.com in the Content Security Policy and load the window over http or https. - [Add Loogika Analytics to Eleventy](https://loogika.com/docs/guides/eleventy): Add the Loogika tracking script to an Eleventy site through the base layout and a global data file. Works with Nunjucks and Liquid layouts. - [Add Loogika Analytics to Ember](https://loogika.com/docs/guides/ember): Add the Loogika tracking script to an Ember app through index.html. Covers Vite-based and classic ember-cli apps, route tracking and custom events. - [Add Loogika Analytics to FastAPI](https://loogika.com/docs/guides/fastapi): Add the Loogika tracking script to a FastAPI app that renders HTML with Jinja2Templates. The site ID comes from pydantic-settings and a Jinja global. - [Add Loogika Analytics to Flask](https://loogika.com/docs/guides/flask): Add the Loogika tracking script to a Flask app through the base Jinja layout. The site ID sits in app.config, which every Flask template can read. - [Add Loogika Analytics to Flutter Web](https://loogika.com/docs/guides/flutter-web): Add the Loogika tracking script to a Flutter web app in web/index.html and send events from Dart with dart:js_interop. Covers hash and path URL routes. - [Add Loogika Analytics to Framer](https://loogika.com/docs/guides/framer): Add the Loogika tracking script to a Framer site through Custom Code in Site Settings, and send click events from the canvas with a Code Override. - [Add Loogika Analytics to Fumadocs](https://loogika.com/docs/guides/fumadocs): Add the Loogika tracking script to a Fumadocs site with the next/script component in app/layout.tsx, so docs pages and landing pages are both tracked. - [Add Loogika Analytics to Ghost](https://loogika.com/docs/guides/ghost): Add the Loogika tracking script to a Ghost publication with the Code injection setting. No theme edits needed. Works with Ghost(Pro) and custom themes. - [Loogika Analytics and GitBook: What Works](https://loogika.com/docs/guides/gitbook): GitBook does not accept custom scripts on published sites, so Loogika cannot track GitBook-hosted pages. See the options you have for your docs. - [Add Loogika Analytics to Google Tag Manager](https://loogika.com/docs/guides/google-tag-manager): Load Loogika through a Custom HTML tag in Google Tag Manager, fired on All Pages. Forward dataLayer events and clicks to Loogika with a second tag. - [Add Loogika Analytics to Hexo](https://loogika.com/docs/guides/hexo): Add the Loogika tracking script to a Hexo site with the injector API in Hexo 5 and later, or through the head partial of your theme on older versions. - [Add Loogika Analytics to Hostinger Website Builder](https://loogika.com/docs/guides/hostinger): Add the Loogika tracking script to Hostinger Website Builder with the Custom code integration. Includes the data-render-head attribute and fixes. - [Add Loogika Analytics to htmx](https://loogika.com/docs/guides/htmx): Add the Loogika tracking script to an htmx site through your base layout. See which htmx swaps count as pageviews and how to track the others as events. - [Add Loogika Analytics to HubSpot](https://loogika.com/docs/guides/hubspot): Add the Loogika tracking script to HubSpot with the Site header HTML setting or on a single page. Includes form tracking and fixes for double pageviews. - [Add Loogika Analytics to Hugo](https://loogika.com/docs/guides/hugo): Add the Loogika tracking script to a Hugo site with a partial template and a site parameter. The partial leaves the tag out while you run hugo server. - [Add Loogika Analytics to Instapage](https://loogika.com/docs/guides/instapage): Add the Loogika tracking script to Instapage as a workspace script for every landing page, or in the HTML/CSS settings of a single page. - [Add Loogika Analytics to Jekyll](https://loogika.com/docs/guides/jekyll): Add the Loogika tracking script to a Jekyll site with an include file or directly in the default layout. Covers production builds and GitHub Pages. - [Add Loogika Analytics to Joomla](https://loogika.com/docs/guides/joomla): Add the Loogika tracking script to Joomla with a Custom module or in the index.php of your template. Includes fixes for TinyMCE and the page cache. - [Add Loogika Analytics to Kajabi](https://loogika.com/docs/guides/kajabi): Add the Loogika tracking script to Kajabi in two places: Header Page Scripts for the site and Checkout Tracking Code for checkout and upsell pages. - [Add Loogika Analytics to Kirby CMS](https://loogika.com/docs/guides/kirby): Add the Loogika tracking script to a Kirby site through the header snippet. Covers the Starterkit, the Plainkit, the page cache and config options. - [Add Loogika Analytics to Laravel](https://loogika.com/docs/guides/laravel): Add the Loogika tracking script to a Laravel app through the Blade layout. The site ID comes from .env and config/services.php, for production only. - [Add Loogika Analytics to Leadpages](https://loogika.com/docs/guides/leadpages): Add the Loogika tracking script to a Leadpages site or landing page through the Head Section Tracking Code field on the Analytics tab. - [Add Loogika Analytics to a Lovable App](https://loogika.com/docs/guides/lovable): Add the Loogika tracking script to a Lovable app with a chat prompt or in the Code tab. Covers TanStack Start and Vite projects and the publish step. - [Add Loogika Analytics to Magento](https://loogika.com/docs/guides/magento): Add the Loogika tracking script to Magento Open Source or Adobe Commerce, allow it in the checkout Content Security Policy and track purchases. - [Add Loogika Analytics to Mintlify](https://loogika.com/docs/guides/mintlify): Add the Loogika tracking script to Mintlify with one small JavaScript file in your content directory. Includes skip patterns and custom events in MDX. - [Add Loogika Analytics to MkDocs](https://loogika.com/docs/guides/mkdocs): Add the Loogika tracking script to MkDocs with extra_javascript in mkdocs.yml, or with a theme override in Material for MkDocs. Includes common fixes. - [Add Loogika Analytics to Moodle](https://loogika.com/docs/guides/moodle): Add the Loogika tracking script to Moodle through the Additional HTML setting, in the Within HEAD field. Includes event tracking and cache fixes. - [Add Loogika Analytics to Nextra 3 and 4](https://loogika.com/docs/guides/nextra): Add the Loogika tracking script to Nextra with next/script. Use app/layout.jsx in Nextra 4 and pages/_app.jsx in Nextra 3. Includes common fixes. - [Add Loogika Analytics to an Odoo Website](https://loogika.com/docs/guides/odoo): Add the Loogika tracking script to an Odoo website through Code Injection in the website editor. Includes add-to-cart events and access right fixes. - [Add Loogika Analytics to Payload CMS](https://loogika.com/docs/guides/payload): Add the Loogika script to the frontend root layout of a Payload and Next.js app. Covers the layout file, Live Preview and draft preview routes. - [Add Loogika Analytics to Phoenix](https://loogika.com/docs/guides/phoenix): Add the Loogika tracking script to a Phoenix app through the root layout, with the site ID read in config/runtime.exs. LiveView navigation is tracked. - [Add Loogika Analytics to Podia](https://loogika.com/docs/guides/podia): Add the Loogika tracking script to Podia under Settings, then Analytics, and send a purchase event from the thank-you page. Needs the Mover or Shaker plan. - [Add Loogika Analytics to Preact](https://loogika.com/docs/guides/preact): Add the Loogika tracking script to a Preact app through index.html. Covers route changes with preact-iso and preact-router, plus custom events. - [Add Loogika Analytics to PrestaShop](https://loogika.com/docs/guides/prestashop): Add the Loogika tracking script to PrestaShop with a header code module or the head.tpl theme file, and send a purchase event after each order. - [Add Loogika Analytics to Qwik](https://loogika.com/docs/guides/qwik): Add the Loogika tracking script to a Qwik City app through src/root.tsx. Covers pageviews for Link navigation and custom events in a click handler. - [Add Loogika Analytics to Ruby on Rails](https://loogika.com/docs/guides/rails): Add the Loogika tracking script to a Ruby on Rails app through the application layout. Covers config.x, Turbo Drive visits and Content Security Policy. - [Add Loogika Analytics to Gatsby](https://loogika.com/docs/guides/react/gatsby): Add the Loogika tracking script to a Gatsby site through gatsby-ssr.js or the Gatsby Script component. Covers route changes and custom events. - [Add Loogika Analytics to Next.js](https://loogika.com/docs/guides/react/next-js): Add the Loogika tracking script to Next.js with the next/script component. Code for the App Router and the Pages Router, plus custom events and fixes. - [Add Loogika Analytics to React Router](https://loogika.com/docs/guides/react/react-router): Add the Loogika tracking script to a React Router app in framework mode through app/root.tsx. Covers route changes, custom events and CSP nonces. - [Add Loogika Analytics to Remix](https://loogika.com/docs/guides/react/remix): Add the Loogika tracking script to a Remix app by placing one tag in the head of app/root.tsx. Covers client-side navigation and custom events. - [Add Loogika Analytics to TanStack Start](https://loogika.com/docs/guides/react/tanstack-start): Add the Loogika tracking script to a TanStack Start app through the head() option of the root route. Covers route changes and custom events. - [Add Loogika Analytics to React (Vite or CRA)](https://loogika.com/docs/guides/react/vite-cra): Add the Loogika tracking script to a React app built with Vite or Create React App. One tag in index.html covers React Router pageviews and events. - [Add Loogika Analytics to a Replit App](https://loogika.com/docs/guides/replit): Add the Loogika tracking script to a Replit app with an Agent prompt or by editing the HTML entry file. Covers the file to edit and republishing. - [Add Loogika Analytics to a Sanity Site](https://loogika.com/docs/guides/sanity): Sanity is headless, so the Loogika tag goes into the frontend that renders your site. See where to put it and how to skip an embedded Sanity Studio. - [Add Loogika Analytics to Shopify](https://loogika.com/docs/guides/shopify): Add the Loogika tracking script to the theme.liquid file of a Shopify store, track product and cart events, and record purchases with a custom pixel. - [Add Loogika Analytics to Shopify Hydrogen](https://loogika.com/docs/guides/shopify-hydrogen): Add the Loogika tracking script to a Shopify Hydrogen storefront in app/root.tsx, allow it in the Content Security Policy and track cart events. - [Add Loogika Analytics to SolidJS](https://loogika.com/docs/guides/solid): Add the Loogika tracking script to a SolidJS app. Use index.html in a Vite project or src/entry-server.tsx in SolidStart. Includes custom events. - [Add Loogika Analytics to Squarespace](https://loogika.com/docs/guides/squarespace): Add the Loogika tracking script to Squarespace through Code Injection. Shows which Squarespace plans include it and which field to paste the tag into. - [Add Loogika Analytics to Starlight (Astro)](https://loogika.com/docs/guides/starlight): Add the Loogika tracking script to Starlight with the head option in astro.config.mjs. Includes fixes for local previews and Head component overrides. - [Add Loogika Analytics to Statamic](https://loogika.com/docs/guides/statamic): Add the Loogika tracking script to the layout file of a Statamic site. Covers Antlers and Blade layouts, static caching and Live Preview visits. - [Add Loogika Analytics to Storyblok](https://loogika.com/docs/guides/storyblok): Storyblok is headless, so the Loogika tag goes into your frontend's root layout. See where to put it and how to handle Visual Editor previews. - [Add Loogika Analytics to a Strapi Site](https://loogika.com/docs/guides/strapi): Strapi is headless, so the Loogika tag goes into the frontend that calls the Strapi API. See where to put the tag and how to check that it works. - [Add Loogika Analytics to SvelteKit](https://loogika.com/docs/guides/svelte/sveltekit): Add the Loogika tracking script to SvelteKit by pasting one tag into src/app.html. Covers client-side navigation, custom events and Svelte 4 syntax. - [Add Loogika Analytics to Svelte with Vite](https://loogika.com/docs/guides/svelte/vite): Add the Loogika tracking script to a client-side Svelte app built with Vite by pasting one tag into index.html. Covers routers and custom events. - [Add Loogika Analytics to systeme.io](https://loogika.com/docs/guides/systeme-io): Add the Loogika tracking script to systeme.io for every sales funnel on the account, or for one page through the Tracking section of the editor. - [Add Loogika Analytics to Tauri](https://loogika.com/docs/guides/tauri): Add the Loogika script tag to a Tauri v2 app and allow app.loogika.com in tauri.conf.json. Explains on which platforms the built app can send data. - [Add Loogika Analytics to Teachable](https://loogika.com/docs/guides/teachable): Add the Loogika tracking script to a Teachable school through Site, then Code Snippets. Shows which snippet section to use and which pages stay untracked. - [Add Loogika Analytics to Thinkific](https://loogika.com/docs/guides/thinkific): Add the Loogika tracking script to Thinkific with Site Footer Code under Settings, then Code & Analytics. Lists the pages where footer code does not run. - [Add Loogika Analytics to ThriveCart](https://loogika.com/docs/guides/thrivecart): Add the Loogika tracking script to ThriveCart checkout pages and send one purchase event from the success page, with a guard against duplicates. - [Add Loogika Analytics to TYPO3](https://loogika.com/docs/guides/typo3): Add the Loogika tracking script to TYPO3 with a page.includeJS entry in the TypoScript of your sitepackage. Covers production-only tracking and caches. - [Add Loogika Analytics to Umbraco](https://loogika.com/docs/guides/umbraco): Add the Loogika tracking script to the master template of an Umbraco site. Covers the backoffice steps, Layout settings, preview mode and caching. - [Add Loogika Analytics to Unbounce](https://loogika.com/docs/guides/unbounce): Add the Loogika tracking script to Unbounce with Script Manager or on one Classic Builder page, and send a lead event when a form is submitted. - [Add Loogika Analytics to a v0 App](https://loogika.com/docs/guides/v0): Add the Loogika tracking script to a v0 app through next/script in app/layout.tsx, by prompt or by hand. Includes event tracking and publish fixes. - [Add Loogika Analytics to VitePress](https://loogika.com/docs/guides/vitepress): Add the Loogika tracking script to VitePress with the head option in .vitepress/config.ts, or from a custom theme. Includes a production-only setup. - [Add Loogika Analytics to Nuxt](https://loogika.com/docs/guides/vue/nuxt): Add the Loogika tracking script to a Nuxt app through the app.head.script array in nuxt.config.ts. Covers Nuxt 2, route changes and custom events. - [Add Loogika Analytics to Vue with Vite](https://loogika.com/docs/guides/vue/vite): Add the Loogika tracking script to a client-side Vue app built with Vite by pasting one tag into index.html. Covers Vue Router and custom events. - [Add Loogika Analytics to Webflow](https://loogika.com/docs/guides/webflow): Add the Loogika tracking script to Webflow, site-wide through Custom code or on a single page. Includes click tracking by element ID and common fixes. - [Add Loogika Analytics to Weebly](https://loogika.com/docs/guides/weebly): Add the Loogika tracking script to a Weebly site through Header Code in the SEO settings. Covers the Square dashboard path and the publish step. - [Add Loogika Analytics to Wix](https://loogika.com/docs/guides/wix): Add the Loogika tracking script to Wix through Custom Code in the site dashboard. Shows the settings to choose and how to avoid duplicate pageviews. - [Add Loogika Analytics to WooCommerce](https://loogika.com/docs/guides/woocommerce): Add the Loogika tracking script to a WooCommerce shop and send purchases, add-to-cart clicks, product views and checkouts as events with PHP hooks. - [Add Loogika Analytics to WordPress](https://loogika.com/docs/guides/wordpress): Add the Loogika tracking script to WordPress with the WPCode plugin, functions.php or a small plugin of your own. Includes fixes for caching plugins. - [Add Loogika Analytics to Zola](https://loogika.com/docs/guides/zola): Add the Loogika tracking script to a Zola site through the base Tera template, with the site ID in config.toml. The tag stays out of zola serve. ## Proxy setup - [Serve the Loogika Script From Your Own Domain](https://loogika.com/docs/proxy-guide): Load the Loogika script through a proxy on your own domain, so ad blockers stop fewer visits. The three steps and the header you must set. - [Astro Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/astro): Proxy the Loogika script through Astro middleware, so the script and its requests load from your own domain. Middleware code, IP header and checks. - [Caddy Reverse Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/caddy): Serve the Loogika script from your own domain with Caddy. A short Caddyfile block with reverse_proxy, the IP headers and the fix for a CDN in front. - [Cloudflare Workers Proxy for Loogika](https://loogika.com/docs/proxy-guide/cloudflare-workers): Serve the Loogika script from your own domain with a Cloudflare Worker. Copy the Worker code, add a route for /stats/* and pass on the visitor's IP. - [Express Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/express): Proxy the Loogika script through Express with http-proxy-middleware, so it loads from your own domain. Server code, middleware order and checks. - [Proxy Setup for Loogika on Any Server](https://loogika.com/docs/proxy-guide/get-started): Set up a first-party proxy for Loogika on any server. See the seven paths to forward, the headers to pass on and how to send the visitor's IP address. - [Laravel Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/laravel): Proxy the Loogika script through Laravel routes and the HTTP client, so it loads from your own domain. Controller, routes, CSRF exception and checks. - [Next.js Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/next-js): Proxy the Loogika script through Next.js rewrites in next.config.js, so the script and its requests load from your own domain. Config and checks. - [Nginx Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/nginx): Serve the Loogika script from your own domain with nginx. One location block with proxy_pass, the IP headers, optional caching and fixes for common errors. - [Loogika Proxy Troubleshooting: Common Fixes](https://loogika.com/docs/proxy-guide/troubleshooting): Fix a Loogika proxy that returns 404, serves HTML, loses events, shows one location for all visitors or marks visits as bots. Causes and fixes. - [Vercel Proxy for the Loogika Script](https://loogika.com/docs/proxy-guide/vercel): Serve the Loogika script from your own domain on Vercel. Add seven rewrites to vercel.json, change the script tag and turn on First-Party Proxy. ## Dashboard guides - [Bots Report: AI Crawlers and Blocked Bots](https://loogika.com/docs/feature-guides/bots): The Bots report in Loogika shows which AI systems and other bots requested your pages and which signal caught them. See how to read both tabs. - [Errors Report: Find JavaScript Errors](https://loogika.com/docs/feature-guides/errors): The Errors report in Loogika groups JavaScript errors by message and shows occurrences, sessions and stack traces. See how to turn it on and read it. - [Events Report: Custom Events and Live Log](https://loogika.com/docs/feature-guides/events): The Events report in Loogika charts your custom events over time and lists single events in a live log. See how to read the chart and inspect an event. - [Globe Report: Visitor Locations on a Map](https://loogika.com/docs/feature-guides/globe): The Globe report in Loogika places your sessions on a map. See the four views, how the timeline plays visits back and what the location is based on. - [User Journeys Report: Paths Through Your Site](https://loogika.com/docs/feature-guides/journeys): The Journeys report in Loogika draws the most common paths visitors take, page by page. See how to set steps, filter a step and read the flow diagram. - [Main Dashboard: Read Your Web Traffic](https://loogika.com/docs/feature-guides/main-tab): The main dashboard in Loogika shows six key metrics, a traffic chart and breakdowns by source, page, device and country. See how to read and filter it. - [Pages Report: Views, Bounce and Time per Page](https://loogika.com/docs/feature-guides/pages-tab): The Pages report in Loogika lists every page with its views, sessions, bounce rate and average time. See how each column is counted and how to filter. - [Performance Report: Core Web Vitals by Page](https://loogika.com/docs/feature-guides/performance): The Performance report in Loogika shows LCP, CLS, INP, FCP and TTFB from real visits. See the thresholds, the percentiles and how to find slow pages. - [Retention Report: Read a Cohort Table](https://loogika.com/docs/feature-guides/retention): The Retention report in Loogika groups visitors by first visit and shows how many return each day or week. See how to read the cohort table and chart. - [Session Replay: Watch Recorded Visits](https://loogika.com/docs/feature-guides/session-replay): Session replay in Loogika plays back recorded visits with a timeline of clicks and page changes. See how to turn it on, use the player and mask data. - [Sessions Report: Read Every Visit](https://loogika.com/docs/feature-guides/sessions): The Sessions report in Loogika lists single visits with source, device, pages and events. See how to open a session timeline and filter the list. - [Users Report: Visitors and User Profiles](https://loogika.com/docs/feature-guides/users): The Users report in Loogika lists every visitor with sessions, pageviews and first source. See how to search, sort, read a profile and delete a user. ## MCP server - [Loogika MCP Server: Connect AI Tools](https://loogika.com/docs/mcp): Connect an AI assistant to your Loogika data through the MCP server. See the address, the two ways to sign in and the 42 tools it offers. - [Connect Claude Code to Loogika with MCP](https://loogika.com/docs/mcp/claude-code): Add the Loogika MCP server to Claude Code with one command. Sign in with OAuth or an API key, share the set-up with your team and check the connection. - [Connect Claude Desktop to Loogika with MCP](https://loogika.com/docs/mcp/claude-desktop): Add Loogika as a custom connector in Claude Desktop or on claude.ai. Paste the MCP address, approve the sign-in and ask Claude about your traffic. - [Connect Codex to Loogika with MCP](https://loogika.com/docs/mcp/codex): Add the Loogika MCP server to the Codex CLI with codex mcp add. Sign in with OAuth in your browser, or point Codex to an API key in your environment. - [Connect Cursor to Loogika with MCP](https://loogika.com/docs/mcp/cursor): Add the Loogika MCP server to Cursor with an API key in mcp.json. See the file location, the JSON to paste and how to check that the tools load. - [Connect OpenCode to Loogika with MCP](https://loogika.com/docs/mcp/opencode): Add the Loogika MCP server to OpenCode in opencode.json. Sign in with OAuth through opencode mcp auth, or send an API key from an environment variable. - [Connect VS Code to Loogika with MCP](https://loogika.com/docs/mcp/vscode): Add the Loogika MCP server to VS Code for Copilot agent mode. Use a .vscode/mcp.json file that asks for your API key and keeps it out of the file. ## API reference - [Annotations Endpoints | Loogika API](https://loogika.com/docs/api/annotations): Read and write chart annotations from your own code, for example to mark every deploy on the traffic chart automatically. - [API Keys and API Usage | Loogika API](https://loogika.com/docs/api/api-keys): Where API keys are created, why the API cannot create them, and how to read today's request count against your daily limit. - [Bot Traffic Endpoints | Loogika API](https://loogika.com/docs/api/bots): Read how much bot traffic Loogika filtered for a site, which signals matched and which bots were behind it. - [Custom SQL Endpoint | Loogika API](https://loogika.com/docs/api/custom-sql): Run read-only SQL against your Loogika events through the API. See the table you can query, the rules and the limits. - [Custom Dashboards Endpoints | Loogika API](https://loogika.com/docs/api/dashboards): Read and save custom dashboards and run the SQL of a single card through the Loogika API. Card format, limits and placeholders. - [Error Tracking Endpoints | Loogika API](https://loogika.com/docs/api/errors): List the JavaScript errors on a site, fetch the occurrences of one error and chart it over time through the Loogika API. - [Events Endpoints | Loogika API](https://loogika.com/docs/api/events): Read raw events, event counts over time, event names and property values. Includes the cursor rules for paging through events. - [Funnels Endpoints | Loogika API](https://loogika.com/docs/api/funnels): List saved funnels, run a funnel analysis for any list of steps, and create or delete funnels through the Loogika API. - [Loogika API: Authentication and Limits](https://loogika.com/docs/api/getting-started): Get started with the Loogika API. Create a key, authenticate with a Bearer token and learn the date, filter and rate limit rules. - [Goals Endpoints | Loogika API](https://loogika.com/docs/api/goals): List goals with conversions, and create, replace and delete goals through the Loogika API. Body fields and examples. - [Data Import Endpoints | Loogika API](https://loogika.com/docs/api/imports): Start a data import, send the rows in batches and follow the progress through the Loogika API. - [Journeys Endpoint | Loogika API](https://loogika.com/docs/api/journeys): Fetch the most common page paths through a site. Choose the number of steps and pin a step to a page with a pattern. - [Metric Endpoint: Break Down by Dimension | Loogika API](https://loogika.com/docs/api/metrics): Break your traffic down by page, source, country, device or any other dimension with one endpoint. See the parameters and the response. - [Organization and Teams Endpoints | Loogika API](https://loogika.com/docs/api/organizations): List the sites, members and teams of an organization, add a site and manage teams through the Loogika API. - [Overview Endpoints | Loogika API](https://loogika.com/docs/api/overview): Read sessions, pageviews, users and bounce rate for a site, as totals or as a time series, and count the visitors online now. - [Web Vitals Endpoints | Loogika API](https://loogika.com/docs/api/performance): Fetch LCP, INP, CLS, FCP and TTFB as percentiles for a site, over time or per page, country, device or browser. - [Retention Endpoint | Loogika API](https://loogika.com/docs/api/retention): Fetch cohort retention for a site by day or by week. See the two parameters and how to read the cohorts in the response. - [Segments Endpoints | Loogika API](https://loogika.com/docs/api/segments): List, create, change and delete saved segments, and apply one to any analytics request with the segment_id parameter. - [Send Events With the Loogika API](https://loogika.com/docs/api/sending-events): Send pageviews and custom events from a server or an app with POST /api/track. See the fields, the event types and the responses. - [Session Replay Endpoints | Loogika API](https://loogika.com/docs/api/session-replay): List recorded sessions, fetch the events of one recording and delete a recording through the Loogika API. - [Sessions Endpoints | Loogika API](https://loogika.com/docs/api/sessions): List sessions for a site, open one session with its events and fetch session locations. Parameters, fields and access rules. - [Sites Endpoints | Loogika API](https://loogika.com/docs/api/sites): Read a site's settings, change them, check this month's usage and delete a site through the Loogika API. - [Users Endpoints | Loogika API](https://loogika.com/docs/api/users): List visitors and identified users, read one user's profile, set traits from your server and delete a user's data.