Analytics And Logging

Analytics

Using analytics repository we log events that occur in the app (i.e. view product, add to cart, purchase).

Services

There are multiple services we use to log info (all listed below PFA).

  • Algolia Analytics
  • Bloomreach Exponea
  • Bloomreach Pixel
  • Content Square
  • Datadog
  • Emarsys
  • Facebook Analytics
  • Google Firebase Analytics
  • Monetate

The repository calls different methods from service depending on the usability.

User Behavior Scenarios

Understanding the Context

  • Anonymized user: Guest user
  • Logged-in user: A user who has authenticated

Obtaining explicit consent from users for data collection and processing is paramount. This is in line with data privacy regulations like GDPR and CCPA.

Scenarios

Initially we have no user logged in and no consent data gathered, we listen to the stream of user changed and consent changed and set the consent & user data accordingly whenever updated.

  1. User Never Logs In, No Consent
    • No data is collected beyond basic information necessary for app functionality.
  2. User Never Logs In, Consent Granted
    • Anonymized data is collected, including device information, and usage patterns. Can provide insights into general user behavior and preferences. Potential for personalized recommendations or content based on aggregated data.
  3. User Logs In Once and Stays Logged In, No Consent
    • Limited to essential data for user authentication and session management. Reduced ability to track user journeys and preferences over time.
  4. User Logs In Once and Stays Logged In, Consent Granted
    • Collects both anonymized and personally identifiable information (PII) with user consent. Can track user behavior in detail, including purchase history, preferences, and engagement metrics. Enables personalized marketing, targeted recommendations, and improved user experience.
  5. User Logs In and Out Frequently, No Consent
    • Limited to essential data for user authentication and session management. Reduced ability to track user journeys and preferences over time.
  6. User Logs In and Out Frequently, Consent Granted
    • Collects both anonymized and PII data, with data collection paused during logged-out sessions. Can track user behavior across sessions, providing insights into user engagement and churn. Enables more accurate user segmentation and targeted marketing campaigns.

Copyright © 2026