# pagent.ai Documentation - [Introduction](https://www.pagent.ai/docs/guides/getting-started/index.md): Welcome to the pagent.ai Documentation! - [Claude connector](https://www.pagent.ai/docs/guides/mcp/claude.md): Connect Pagent to Claude to review website tests, capture hypotheses, and manage your optimization workflow. - [Pagent MCP server for Claude, ChatGPT, Codex and Cursor](https://www.pagent.ai/docs/guides/mcp/index.md): Run A/B tests from Claude, ChatGPT, Codex, Cursor or any MCP client: read Bayesian results, capture hypotheses, and create and start tests on your live site. - [Push a winning test to Contentful](https://www.pagent.ai/docs/guides/integration/contentful.md): Connect a space, write a winning test into a preview environment, and hand it off to master. - [SDK](https://www.pagent.ai/docs/guides/integration/sdk-integration.md): JavaScript SDK Integration Guide - [Consent](https://www.pagent.ai/docs/guides/integration/consent.md): Choose a consent path and connect your consent platform to Pagent - [Security Headers](https://www.pagent.ai/docs/guides/integration/security-headers.md): Setting Security Headers - [Flags](https://www.pagent.ai/docs/guides/integration/flags.md): Runtime flags - [How tracking works](https://www.pagent.ai/docs/guides/tracking/overview.md): Send events, then build conversion goals on top of them - [Sending events](https://www.pagent.ai/docs/guides/tracking/events.md): Report events from your website with window._pgnt.push - [Instrumentation](https://www.pagent.ai/docs/guides/tracking/instrumentation.md): Turn dataLayer pushes, custom events and triggers into pagent events without changing your site - [Conversion goals](https://www.pagent.ai/docs/guides/tracking/conversion-goals.md): Decide what counts as success and measure it in tests - [Tracking revenue](https://www.pagent.ai/docs/guides/tracking/revenue.md): Attach revenue to events and measure it in tests - [Server-side events](https://www.pagent.ai/docs/guides/tracking/server-side-events.md): Send events from your backend via the REST API - [Tag manager forwarding](https://www.pagent.ai/docs/guides/tracking/tag-manager-forwarding.md): Forward test assignments and conversions to Google Tag Manager, JENTIS or any dataLayer - [Event listener](https://www.pagent.ai/docs/guides/tracking/event-listener.md): Listen to everything the SDK records on the pagent:event bus - [Variables](https://www.pagent.ai/docs/guides/tracking/variables.md): Read session and experiment context with window._pgnt.variables() - [SEO](https://www.pagent.ai/docs/guides/faq/seo.md): How pagent.ai affects SEO and search engine optimization - [Install pagent](https://www.pagent.ai/docs/install/index.md): Add one snippet to your shop or website. Pick your platform for step-by-step instructions. - [Shopify](https://www.pagent.ai/docs/install/shopify.md): Add pagent to your Shopify store with one snippet in your theme, and count orders with a custom pixel. - [WooCommerce and WordPress](https://www.pagent.ai/docs/install/wordpress.md): Add pagent to your WooCommerce shop or WordPress site with a free header plugin. - [Shopware](https://www.pagent.ai/docs/install/shopware.md): Add pagent to your Shopware 6 shop with a head-code plugin or a theme template. - [Magento and Adobe Commerce](https://www.pagent.ai/docs/install/magento.md): Add pagent to a Magento 2 or Adobe Commerce store through the admin or your theme. - [Wix](https://www.pagent.ai/docs/install/wix.md): Add pagent to your Wix site with Custom Code. - [Squarespace](https://www.pagent.ai/docs/install/squarespace.md): Add pagent to your Squarespace site with Code Injection. - [Webflow](https://www.pagent.ai/docs/install/webflow.md): Add pagent to your Webflow site through the site-wide head code. - [Framer](https://www.pagent.ai/docs/install/framer.md): Add pagent to your Framer site with custom code. - [Frameworks](https://www.pagent.ai/docs/install/frameworks.md): Which snippet settings to use with Next.js, React, Remix, Shopify Hydrogen, Vue, Nuxt, SvelteKit, Astro, Gatsby and Angular. - [Next.js](https://www.pagent.ai/docs/install/nextjs.md): Add pagent to a Next.js site, with the App Router or the Pages Router. - [React](https://www.pagent.ai/docs/install/react.md): Add pagent to a React app built with Vite or Create React App, or with Remix and React Router. - [Shopify Hydrogen](https://www.pagent.ai/docs/install/hydrogen.md): Add pagent to a headless Shopify store built with Hydrogen. - [Vue and Nuxt](https://www.pagent.ai/docs/install/vue.md): Add pagent to a Vue app built with Vite, or to a Nuxt site. - [SvelteKit](https://www.pagent.ai/docs/install/sveltekit.md): Add pagent to a SvelteKit site. - [Astro](https://www.pagent.ai/docs/install/astro.md): Add pagent to an Astro site. - [Gatsby](https://www.pagent.ai/docs/install/gatsby.md): Add pagent to a Gatsby site. - [Angular](https://www.pagent.ai/docs/install/angular.md): Add pagent to an Angular app. - [Google Tag Manager](https://www.pagent.ai/docs/install/google-tag-manager.md): Load pagent through Google Tag Manager, and why pasting the snippet directly is better. - [Any other website](https://www.pagent.ai/docs/install/html.md): Add pagent to any website by pasting one snippet into the head of every page. - [Cookiebot](https://www.pagent.ai/docs/install/cookiebot.md): Pass your visitors' Cookiebot consent to pagent. - [Usercentrics](https://www.pagent.ai/docs/install/usercentrics.md): Pass your visitors' Usercentrics consent to pagent. - [consentmanager](https://www.pagent.ai/docs/install/consentmanager.md): Pass your visitors' consentmanager consent to pagent. - [How pagent decides a test](https://www.pagent.ai/docs/statistics/overview.md): The checks, rules and outcomes behind every test result - [Variations and goals](https://www.pagent.ai/docs/statistics/variations-and-goals.md): How pagent handles several variations, several goals, revenue and the traffic split check - [Bayesian statistics](https://www.pagent.ai/docs/statistics/bayesian.md): How the Bayesian engine decides a test with chance to beat control, priors and expected loss - [Frequentist statistics](https://www.pagent.ai/docs/statistics/frequentist.md): How the frequentist engine decides a test with p-values and a fixed false-winner rate - [Statistics settings](https://www.pagent.ai/docs/statistics/settings.md): Levels, every statistics setting in pagent, its default, and when to change it - [Choose your setup](https://www.pagent.ai/docs/statistics/choose-your-setup.md): Pick a statistics level, match your company's standard and trade speed against certainty ## Optional - [Documentation](https://www.pagent.ai/docs) - [Blog](https://www.pagent.ai/blog) - [Case Studies](https://www.pagent.ai/#case-studies) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.