Respectlytics Respect lytics
Menu
Replace Google Analytics for Firebase No PHI collected

Replace Google Analytics for Firebase so analytics never touches PHI

Migrate from Google Analytics for Firebase to Respectlytics so analytics doesn't store the data HIPAA classifies as PHI. Helps developers avoid collecting personal data.

Example Google Analytics for Firebase call (the "before")

kotlin Respectlytics
import com.google.firebase.analytics.ktx.analytics
import com.google.firebase.ktx.Firebase

// GA4 event with user_id and freeform parameters:
Firebase.analytics.logEvent("level_up") {
    param("level", 7L)
    param("character", "Aragorn")
    param("user_id", userId)
}

HIPAA's Protected Health Information (PHI) classification covers any health-related data tied to identifiable individuals. Most analytics SDKs accept arbitrary parameters — making it easy to log symptom, medication, heart_rate, or cycle_day alongside a persistent user_id, which is unambiguously PHI. Consult your legal team for HIPAA specifics; Respectlytics's 5-field schema rejects health-category fields at the API.

Remove Google Analytics for Firebase cleanly

  1. 1

    Remove the Firebase Analytics dependency from your build (CocoaPods / SPM / Gradle / npm / pub)

  2. 2

    Remove the GA4 property's data stream linkage from your Firebase console — the data stops flowing as soon as the SDK is removed, but the property remains until manually deleted

  3. 3

    Replace Analytics.logEvent call sites with Respectlytics.track("event_name")

  4. 4

    Re-audit your Info.plist and AndroidManifest.xml for IDFA / AD_ID surfaces that GA for Firebase contributed

  5. 5

    Confirm play-services-ads-identifier is no longer in the Android runtime classpath

Google Analytics for Firebase vs Respectlytics — no phi collected

Google Analytics for FirebaseRespectlytics
Accepts health-related fields (symptom, medication, etc.)Yes (free-form parameters)No (rejected by 5-field schema)
Joinable to a user identity— see tool note aboveNo (session_id rotates every 2h)
BAA available with vendor— typically yes, with restrictionsOut of scope — Respectlytics is designed so PHI never enters the pipeline
Apple Health & Fitness Privacy Label tierTriggered if you log health fieldsNot triggered by Respectlytics

Frequently asked questions

What does HIPAA actually require here?

HIPAA's Privacy Rule restricts how Covered Entities and Business Associates handle PHI. The full breakdown is outside this tool's scope — consult your legal team. From a technical posture: ensuring health-related data simply doesn't enter your analytics pipeline removes the surface that HIPAA would otherwise scope.

We're a telehealth app — how do we track funnel completion without health data?

Track the action without the content. appointment_booked is an event name; the doctor specialty, diagnosis, or symptom that led to the appointment lives in your EHR or telehealth platform, never in product analytics. Your product KPIs (booking rate, completion rate, repeat-use rate) compute fine on session-grouped events without per-event health context.

Does Respectlytics sign a BAA?

Out of scope by design — Respectlytics's 5-field schema rejects health categories at the API. There's no PHI flowing to Respectlytics, so the BAA scope is empty. Consult your legal team to confirm this fits your specific compliance posture.

What about wearable / fitness app step counts and heart rate?

Those are health data even if your app isn't a medical app. Apple's HealthKit framework is the right system of record for that data — it has its own privacy model and stays on-device. Product analytics tells you whether the heart-rate feature is being used; HealthKit holds the values.

Related migration guides

Track what matters. Collect nothing you don't.

Five-field event schema, RAM-only event queue, no IDFA, no AAID, no persistent user IDs. Helps developers avoid collecting personal data in the first place.