# Documentation

Everything you need to install GhostlyX, track custom events, query your data via the REST API, and integrate with your stack.

[**JavaScript API**  
Trigger custom events, track goals, and push metadata from your front-end code.](/content/docs/javascript-api/index.html)  
[**MCP Server** New  
Connect AI assistants to your analytics using the Model Context Protocol.](/content/docs/mcp-server/index.html)  
[**Server-Side Tracking** New  
Send pageviews and events from your backend without a browser script. Business plan required.](/content/docs/server-side-tracking/index.html)  
[**Getting started**  
Install the tracking snippet, add your site, and have data flowing in under two minutes.](/content/docs/getting-started/index.html)  
[**REST API**  
Query your analytics data programmatically. Build dashboards, export reports, and integrate with your stack.](/content/api-reference/index.html)  
[**Custom events**  
Track button clicks, form submissions, and any interaction that matters to your business.](/content/docs/custom-events/index.html)

## Integrations

Install GhostlyX on WordPress with a one-click plugin download. More platforms coming soon.

WordPress plugin available

[Get started](/content/register/index.html)

## Ready to get started anyway?

The setup really is just one line of code. Try it. You can always come back for the deep-dive guides later.

[Get started free](/content/register/index.html)  [How it works](/content/how-it-works/index.html)
