stacks-analytics

Generate privacy-friendly analytics tracking scripts for Stacks framework applications.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-analytics-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-analytics
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-analytics
Command: npx skills add https://github.com/bughq/bughq --skill stacks-analytics-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the integration of privacy-compliant analytics into Stacks applications, removing the complexity of manual script injection and configuration management.

Core Features & Use Cases

  • Multi-Driver Support: Easily toggle between Fathom and self-hosted analytics solutions.
  • Automated Script Generation: Programmatically generate tracking scripts and head configurations for your application.
  • Use Case: When deploying a new Stacks project, use this Skill to configure privacy-friendly tracking that respects Do Not Track headers and provides engagement metrics without compromising user data.

Quick Start

Use the stacks-analytics skill to generate a self-hosted tracking script for a site with ID ABCDEF and an API endpoint at https://analytics.myapp.com/api/event.

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 tracking to a Stacks application?

You can add privacy-friendly analytics to a Stacks app by using this Skill to generate tracking scripts and centralized configuration files. It programmatically injects the scripts while respecting Do Not Track headers for GDPR compliance.

Can I use Fathom analytics with the Stacks TypeScript framework?

Yes, you can integrate Fathom analytics with the Stacks TypeScript framework. This Skill provides multi-driver support, allowing you to toggle between Fathom and self-hosted analytics solutions through a centralized configuration.

How does privacy-focused analytics handle Do Not Track headers?

Privacy-focused analytics handles Do Not Track headers by managing tracking parameters within the generated scripts. This ensures your Stacks application monitors outbound links and engagement metrics without compromising user data or violating GDPR compliance.

How do I configure a self-hosted analytics endpoint for a Stacks project?

To configure a self-hosted analytics endpoint for a Stacks project, use this Skill to generate a tracking script with your specific API endpoint URL and site ID. It centralizes these parameters to automate script generation for your application.