For the complete documentation index, see llms.txt. This page is also available as Markdown.

README

The kit includes one common analytics pipeline with four selectable providers:

  • Unity Analytics

  • Firebase Analytics

  • GameAnalytics

  • ByteBrew

Gameplay, ads, and purchases
            ↓
AnalyticsEventTracker / AdsListener
            ↓
      IAnalyticsService
            ↓
   Selected analytics provider

The common runtime assembly is CandySmith.Analytics. Each provider implementation is isolated in its own assembly, so Firebase, GameAnalytics, and ByteBrew are optional dependencies.

Common settings

Open:

Assets/HomeDesignMatch3Kit/Resources/Settings/GameSettings.asset

Use the Analytics section:

  • Analytics Provider selects the provider used at runtime.

  • Enable Analytics enables or disables analytics collection.

Unity Analytics is selected by default.

Only the selected provider is initialized. The other provider folders may remain in the project.

Optional provider assemblies use SDK-specific assembly definition constraints. Therefore, missing Firebase, GameAnalytics, or ByteBrew SDKs do not produce compilation errors.

Enable Analytics is the kit-level collection switch. For production, keep analytics disabled until the game's privacy and consent flow allows data collection.

The runtime service exposes:

The kit-level setting does not replace platform-specific privacy requirements such as iOS App Tracking Transparency, Firebase consent configuration, or advertising network consent requirements.

Provider documentation

Last updated