Installs and configures the @dotcms/analytics library for tracking user events.
Install
mkdir -p .claude/skills/sdk-analytics-installer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6036" && unzip -o skill.zip -d .claude/skills/sdk-analytics-installer && rm skill.zipInstalls to .claude/skills/sdk-analytics-installer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use this skill when the user asks to install, configure, or set up @dotcms/analytics, sdk-analytics, analytics SDK, add analytics tracking, or mentions installing analytics in Next.js or React projectsKey capabilities
- →Configures automatic route-change page view tracking
- →Implements custom event logging hooks
- →Manages UTM parameter tracking and session timeout
- →Sets up debug logging for development environments
- →Integrates with centralized config for analytics endpoints
How it works
Applies a standardized setup by injecting specific React components for automatic tracking and providing a hook for manual tracking that requires explicit configuration passing.
Inputs & outputs
When to use sdk-analytics-installer
- →Adding automatic page view tracking
- →Implementing custom event tracking for user actions
- →Configuring UTM campaign parameters
- →Setting up session management for analytics
About sdk-analytics-installer
Guides the integration of the dotCMS analytics SDK, providing standard components for automatic page view tracking and hooks for manual event logging. It ensures proper configuration and setup within the project structure.
Use this skill when the user asks to install, configure, or set up @dotcms/analytics, sdk-analytics, analytics SDK, add analytics tracking, or mentions installing analytics in Next.js or React projects
When not to use it
- →If the project already uses a global analytics manager that conflicts with this SDK
- →For legacy environments where route-change events are not broadcasted
- →When you only need static tracking and not content-aware events
Prerequisites
Limitations
- →Specific to dotCMS-based content models
- →Requires manual updates if site keys change
- →Documentation relies on specific file path conventions
How it compares
It forces an explicit configuration pattern rather than relying on React Context, which ensures that hooks remain decoupled and debuggable.
Compared to similar skills
sdk-analytics-installer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| sdk-analytics-installer (this skill) | 1 | 7mo | Review | Beginner |
| ai-sdk | 11 | 2mo | Review | Advanced |
| ai-model-web | 1 | 2mo | Review | Intermediate |
| ai-sdk-documentation | 1 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by dotCMS
View all by dotCMS →You might also like
ai-sdk
vercel
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".
ai-model-web
TencentCloudBase
Use this skill when developing browser/Web applications (React/Vue/Angular, static websites, SPAs) that need AI capabilities. Features text generation (generateText) and streaming (streamText) via @cloudbase/js-sdk. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended) and DeepSeek (deepseek-v3.2 recommended). NOT for Node.js backend (use ai-model-nodejs), WeChat Mini Program (use ai-model-wechat), or image generation (Node SDK only).
ai-sdk-documentation
malob
This skill should be used when working with Vercel AI SDK, AI Gateway, streamText, generateText, generateObject, streamObject, tool calling, or AI SDK providers. Also relevant for "ai-sdk", "@ai-sdk/*" packages, or questions about AI SDK patterns, configuration, and best practices.
flowglad-setup
flowglad
Install and configure the Flowglad SDK for Next.js, Express, and React applications. Use this skill when adding billing to an app, setting up Flowglad for the first time, or configuring SDK providers and route handlers.
rdc-setup
reactive
Install and set up @data-client/react or @data-client/vue in a project. Detects project type (NextJS, Expo, React Native, Vue, plain React) and protocol (REST, GraphQL, custom), then hands off to protocol-specific setup skills.
tanstack-query-expert
Anhvu1107
ALWAYS use this when the request matches Tanstack Query Expert: Expert in TanStack Query (React Query) — asynchronous state management.