Receber por email
← Voltar para o catálogo

Mobile Analytics

Integração de análise de aplicativos móveis e relatórios de falhas

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/mobile-analytics/svg)](https://www.skillteca.com.br/skills/mobile-analytics)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Mobile Analytics Skill

Overview

This skill provides comprehensive capabilities for mobile app analytics and crash reporting integration. It enables configuration of Firebase Analytics, Crashlytics, Mixpanel, Amplitude, and other analytics platforms.

Allowed Tools

  • bash - Execute Firebase CLI and SDK commands
  • read - Analyze analytics configurations
  • write - Generate analytics event schemas and configurations
  • edit - Update analytics implementations
  • glob - Search for analytics files
  • grep - Search for event tracking patterns

Capabilities

Firebase Analytics

  1. Event Configuration
  2. Configure custom events
  3. Set user properties
  4. Implement screen tracking
  5. Configure event parameters
  6. Handle default events
  1. User Segmentation
  2. Configure audiences
  3. Set user IDs
  4. Implement user properties
  5. Handle demographics

Firebase Crashlytics

  1. Crash Reporting
  2. Configure crash reporting
  3. Implement custom keys
  4. Log non-fatal errors
  5. Set user identifiers
  6. Configure crash alerting
  1. Debug Tools
  2. Enable debug mode
  3. Configure test crashes
  4. Analyze stack traces
  5. Handle dSYM uploads

Third-Party Analytics

  1. Mixpanel/Amplitude
  2. Configure SDKs
  3. Implement event tracking
  4. Set user profiles
  5. Handle funnels
  1. Segment
  2. Configure data routing
  3. Implement destinations
  4. Handle identity

A/B Testing

  1. Remote Config
  2. Configure feature flags
  3. Implement experiments
  4. Handle rollout percentages
  5. Analyze results

Target Processes

  • mobile-analytics-setup.js - Analytics implementation
  • firebase-backend-integration.js - Firebase services
  • mobile-performance-optimization.js - Performance monitoring

Dependencies

  • Firebase SDK
  • Analytics platform SDKs
  • Firebase CLI

Usage Examples

Firebase Analytics Setup (iOS)

// AppDelegate.swift
import FirebaseCore
import FirebaseAnalytics

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
    func application(_ application: UIApplication,
                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        FirebaseApp.configure()
        return true
    }
}

// Analytics Helper
struct AnalyticsManager {
    static func logEvent(_ name: String, parameters: [String: Any]? = nil) {
        Analytics.logEvent(name, parameters: parameters)
    }

    static func setUserId(_ userId: String) {
        Analytics.setUserID(userId)
    }

    static func setUserProperty(_ value: String?, forName name: String) {
        Analytics.setUserProperty(value, forName: name)
    }

    static func logScreenView(screenName: String, screenClass: String) {
        Analytics.logEvent(AnalyticsEventScreenView, parameters: [
            AnalyticsParameterScreenName: screenName,
            AnalyticsParameterScreenClass: screenClass
        ])
    }
}

Firebase Analytics Setup (Android)

// AnalyticsManager.kt
class AnalyticsManager @Inject constructor(
    private val analytics: FirebaseAnalytics
) {
    fun logEvent(name: String, params: Map<String, Any>? = null) {
        analytics.logEvent(name, params?.toBundle())
    }

    fun setUserId(userId: String?) {
        analytics.setUserId(userId)
    }

    fun setUserProperty(name: String, value: String?) {
        analytics.setUserProperty(name, value)
    }

    fun logScreenView(screenName: String, screenClass: String) {
        analytics.logEvent(FirebaseAnalytics.Event.SCREEN_VIEW) {
            param(FirebaseAnalytics.Param.SCREEN_NAME, screenName)
            param(FirebaseAnalytics.Param.SCREEN_CLASS, screenClass)
        }
    }
}

private fun Map<String, Any>.toBundle(): Bundle {
    return Bundle().apply {
        this@toBundle.forEach { (key, value) ->
            when (value) {
                is String -> putString(key, value)
                is Int -> putInt(key, value)
                is Long -> putLong(key, value)
                is Double -> putDouble(key, value)
                is Boolean -> putBoolean(key, value)
            }
        }
    }
}

Event Schema

// analytics/events.ts
export const AnalyticsEvents = {
  // User Events
  USER_SIGNED_UP: 'user_signed_up',
  USER_LOGGED_IN: 'user_logged_in',
  USER_LOGGED_OUT: 'user_logged_out',

  // Feature Events
  FEATURE_USED: 'feature_used',
  ITEM_VIEWED: 'item_viewed',
  ITEM_ADDED_TO_CART: 'item_added_to_cart',
  PURCHASE_COMPLETED: 'purchase_completed',

  // Engagement Events
  SHARE_CLICKED: 'share_clicked',
  NOTIFICATION_RECEIVED: 'notification_received',
  NOTIFICATION_OPENED: 'notification_opened',
} as const;

export interface EventParameters {
  user_signed_up: { method: 'email' | 'google' | 'apple' };
  item_viewed: { item_id: string; item_name: string; category: string };
  purchase_completed: { transaction_id: string; value: number; currency: string };
}

Quality Gates

  • Event naming conventions enforced
  • Required parameters validated
  • PII data excluded
  • Consent management implemented

Related Skills

  • firebase-mobile - Firebase services
  • mobile-perf - Performance monitoring

Version History

  • 1.0.0 - Initial release
Compartilhar X LinkedIn