stacks-analytics

Configure privacy-friendly analytics for Stacks apps with Fathom or self-hosted drivers.

622|17|Updated Apr 26, 2022
One-click install
npx skills add https://github.com/stacksjs/stacks --skill stacks-analytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-analytics
Source: https://github.com/stacksjs/stacks/tree/main/.claude/skills/stacks-analytics
Command: npx skills add https://github.com/stacksjs/stacks --skill stacks-analytics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stacks Analytics provides a privacy-friendly way to configure analytics for Stacks applications, supporting both Fathom and self-hosted options, and it includes script generation and an analytics configuration workflow.

Core Features & Use Cases

  • Configure privacy-friendly analytics with Fathom or self-hosted drivers for Stacks apps
  • Generate tracking scripts, head configurations, and manage analytics via config/analytics.ts
  • Use analytics dashboards to monitor page views, traffic sources, and engagement metrics

Quick Start

Configure analytics by selecting a driver and applying the generated scripts to your Stacks project.

Frequently Asked Questions about stacks-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add privacy-friendly analytics to a Stacks app?

Privacy-friendly analytics in Stacks apps is configured by selecting a driver—like Fathom or a self-hosted option—and generating tracking scripts and head configurations via an analytics.ts file to monitor page views and engagement without compromising user privacy.

Does Stacks support self-hosted analytics drivers?

Yes, Stacks supports self-hosted analytics drivers through the SelfHostedConfig interface, allowing you to configure tracking scripts and dashboard metrics integration for page views and engagement while maintaining control over your analytics data.

Can I use Fathom for tracking page views in Stacks applications?

Yes, Fathom can be used for tracking page views in Stacks applications. The framework provides a config-driven workflow to generate Fathom tracking scripts, manage head configurations, and surface engagement metrics on your analytics dashboard.

What is the best way to configure analytics.ts in a Stacks project?

The best way to configure analytics.ts in a Stacks project is by using the config-driven workflow with the SelfHostedConfig interface, applying generated tracking scripts and head configurations to surface page views, traffic sources, and engagement metrics.

Why choose privacy-friendly analytics over traditional tracking?

Choose privacy-friendly analytics to monitor page views, traffic sources, and engagement metrics without collecting invasive user data. Stacks supports Fathom and self-hosted drivers to provide dashboard insights while respecting visitor privacy.