Skip to main content
command

game-analytics-integration — Claude Code command: setup guide

Plan game analytics for player activity, technical performance, and business metrics. Run the command when you need to map out an analytics system for a game project.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --command game-development/game-analytics-integration
Open on GitHub

What game-analytics-integration does

The command inspects the project to identify its game platform, existing analytics code, SDK files, database setup, and privacy documents. It can use package.json or look for Unity, Unreal, and Godot project files, then build an analytics plan around what it finds.

Its scope covers player journeys, performance monitoring, revenue and retention metrics, A/B experiments, dashboards, and data governance. It also includes consent handling and GDPR and CCPA considerations. That is a broad brief, so decide which parts fit the game before turning the plan into an implementation.

What it helps with

  • Plan event collection for player behavior
  • Track crashes, frame rates, and loading times
  • Define metrics for revenue and player retention
  • Set up an approach to A/B testing game features
  • Plan consent handling and data protection

Example prompts for the agent

  • Plan player behavior tracking for this game with --player-behavior.
  • Design performance monitoring for the project with --performance.
  • Map out a full game analytics system with --comprehensive.

How to install game-analytics-integration

1claude-code-templates

npx claude-code-templates@latest --command game-development/game-analytics-integration

2Manually: put the files in place

.claude/commands/game-analytics-integration.md

Call it with /game-analytics-integration. For all projects use ~/.claude/commands/

Questions about game-analytics-integration

How do I install game-analytics-integration in Claude Code?

Run npx claude-code-templates@latest --command game-development/game-analytics-integration.

What does game-analytics-integration do?

It examines a game project and helps plan analytics for player activity, technical performance, and business metrics. The requested scope also includes experiments and privacy considerations.

Which game engines can it recognize?

It looks for Unity, Unreal, and Godot project files, and can also use package.json to identify the project context.

Source text

game-analytics-integration.md · MIT
---
allowed-tools: Read, Write, Edit, Bash
argument-hint: "[analytics-type] | --player-behavior | --performance | --monetization | --retention | --comprehensive"
description: Use PROACTIVELY to implement game analytics systems with player behavior tracking, performance monitoring, and business intelligence integration
---

# Game Analytics & Player Intelligence System

Implement comprehensive game analytics and player intelligence: $ARGUMENTS

## Current Analytics Context

- Game platform: @package.json or detect Unity/Unreal/Godot project files
- Existing analytics: !`grep -r "Analytics\|Telemetry\|Tracking" . 2>/dev/null | wc -l` current implementations
- Data storage: @database/ or detect database configurations
- Privacy compliance: @privacy-policy.md or @GDPR/ (if exists)
- Platform SDKs: !`find . -name "*SDK*" -o -name "*Analytics*" | head -5`

## Task

Create a comprehensive analytics system for game development with player behavior tracking, performance monitoring, A/B testing capabilities, and business intelligence integration.

## Analytics Framework Components

### 1. Player Behavior Analytics
- Session tracking and engagement metrics
- User journey mapping and funnel analysis
- Feature usage and interaction heatmaps
- Player progression and achievement tracking
- Social interactions and community engagement metrics

### 2. Performance & Technical Analytics
- Frame rate and performance monitoring across devices
- Crash reporting and error tracking
- Loading times and optimization opportunities
- Memory usage patterns and optimization insights
- Network performance and connectivity analytics

### 3. Business Intelligence Integration
- Revenue tracking and monetization analytics
- User acquisition and retention metrics
- Lifetime value (LTV) and cohort analysis
- A/B testing framework for feature experiments
- Market segmentation and player persona analytics

### 4. Real-time Monitoring & Alerting
- Live player activity monitoring
- Performance anomaly detection and alerting
- Revenue and conversion rate monitoring
- Server health and capacity monitoring
- Automated incident response and escalation

## Analytics Implementation Areas

### Data Collection Strategy
- Event taxonomy design and standardization
- Privacy-compliant data collection practices
- Cross-platform data synchronization
- Offline data storage and batch upload
- Data quality validation and cleansing

### Analytics Dashboard Development
- Real-time analytics visualization
- Custom KPI tracking and monitoring
- Executive and stakeholder reporting
- Team-specific analytics views and permissions
- Mobile and web dashboard accessibility

### Player Insights & Segmentation
- Player behavior pattern analysis
- Churn prediction and retention strategies
- Personalization and recommendation systems
- Dynamic difficulty adjustment based on analytics
- Player support and community management insights

### A/B Testing & Experimentation
- Feature flag management and testing infrastructure
- Statistical significance validation
- Multivariate testing capabilities
- Gradual feature rollout and monitoring
- Experiment result analysis and recommendations

## Privacy & Compliance

### Data Protection Implementation
- GDPR and CCPA compliance frameworks
- User consent management and tracking
- Data anonymization and pseudonymization
- Right to be forgotten implementation
- Data breach detection and response procedures

### Security & Data Governance
- Encrypted data transmission and storage
- Access control and audit logging
- Data retention policy implementation
- Third-party integration security validation
- Regular security assessment and compliance audits

## Deliverables

1. **Analytics Architecture**
   - Data collection framework and event taxonomy
   - Privacy-compliant implementation guidelines
   - Cross-platform synchronization strategy
   - Real-time processing and storage architecture

2. **Dashboard & Reporting System**
   - Executive and operational dashboards
   - Automated reporting and alert systems
   - Custom analytics views for different stakeholders
   - Mobile and web accessibility implementation

3. **Player Intelligence Platform**
   - Behavior analysis and segmentation tools
   - Predictive analytics and recommendation systems
   - A/B testing and experimentation framework
   - Personalization and dynamic content delivery

4. **Compliance & Security Framework**
   - Privacy policy and consent management
   - Data governance and security protocols
   - Regulatory compliance validation
   - Incident response and data breach procedures

## Integration Guidelines

Implement analytics with game engine native solutions and establish scalable data pipelines. Ensure compliance with privacy regulations and platform-specific requirements while maintaining player trust and data security.

© davila7 · MIT · davila7/claude-code-templates

Similar slash commands

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor