Analytics
Skill a5c-ai/babysitter/library/specializations/web-development/skills/analytics
Google Analytics 4, tag management, and event tracking.From its SKILL.md
npx -y skills add a5c-ai/babysitter --skill analyticsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.1 KB, 169 tokens by cl100k_base, as published. Nobody here has run it
Analytics Skill
Expert assistance for web analytics implementation.
Capabilities
- Configure Google Analytics 4
- Implement event tracking
- Set up tag management
- Create custom events
- Handle privacy compliance
GA4 Implementation
// gtag.js
declare global {
interface Window {
gtag: (...args: any[]) => void;
}
}
export function trackEvent(action: string, category: string, label?: string) {
window.gtag('event', action, {
event_category: category,
event_label: label,
});
}
export function trackPageView(url: string) {
window.gtag('config', GA_ID, {
page_path: url,
});
}
Target Processes
- analytics-setup
- event-tracking
- conversion-tracking
What ships with it: 1 file
304 B alongside SKILL.md
- README.md304 B