codepractice-ai / app /api /analytics

Commit History

  1. Add bounce feedback collection and tracking⁠

    Mahdi Naser Moghadasi
    bccb160

  1. Add UTM parameter recovery from request URL in addition to cookies and referrer

    Mahdi Naser Moghadasi
    731d501
  2. Add server-side UTM parameter recovery from cookies and referrer URL

    Mahdi Naser Moghadasi
    f2c3a91
  3. Add full request body logging to debug UTM parameter transmission

    Mahdi Naser Moghadasi
    1ad71ee
  4. Add logging for visits without UTM parameters to debug tracking

    Mahdi Naser Moghadasi
    22b289f
  5. Add debug logging for UTM parameter tracking

    Mahdi Naser Moghadasi
    28b6fd5
  6. Track multiple ad clicks per visitor: allow multiple visits per day with different UTM campaigns, add API endpoint to query visits by visitor ID

    Mahdi Naser Moghadasi
    703eaa8

  1. Preserve totalVisitsBeforeExclusions in date-filtered analytics

    Mahdi Naser Moghadasi
    86e1b96
  2. Include totalVisitsBeforeExclusions in API response⁠

    Mahdi Naser Moghadasi
    0f7c976
  3. Remove duplicate geographic stats queries - use filtered stats from readAnalyticsFromDB⁠

    Mahdi Naser Moghadasi
    207f951
  4. Add date filtering to geographic stats (country and US state maps)⁠

    Mahdi Naser Moghadasi
    acc74af
  5. Fix geolocation: Handle 403 error and improve IP extraction⁠

    Mahdi Naser Moghadasi
    c9e76a9
  6. Add comprehensive debug logging for geolocation⁠

    Mahdi Naser Moghadasi
    50e2414
  7. Add debug logging for IP extraction⁠

    Mahdi Naser Moghadasi
    84ff9b7
  8. Fix geolocation: Use HTTPS and add debug logging⁠

    Mahdi Naser Moghadasi
    b73bea0

  1. Add geographic tracking and map visualizations⁠

    Mahdi Naser Moghadasi
    f8c10e0
  2. Filter referrer stats by date when date filter is applied⁠

    Mahdi Naser Moghadasi
    afc71d6
  3. Add debug info to API response for LLM questions query⁠

    Mahdi Naser Moghadasi
    6fefb81
  4. Improve LLM questions query with better debugging

    Mahdi Naser Moghadasi
    5f3007e
  5. Add debug logging to check available activity types for LLM users

    Mahdi Naser Moghadasi
    9e04295
  6. Fix LLM questions query to use date() function and add debug logging

    Mahdi Naser Moghadasi
    28a4d19
  7. Fix TypeScript error for llmUsageByVisitor property

    Mahdi Naser Moghadasi
    091c4b9
  8. Add LLM questions breakdown by user for date-filtered queries⁠

    Mahdi Naser Moghadasi
    78d4c4b
  9. Add llmUsageByVisitor to API response object

    Mahdi Naser Moghadasi
    481ac70
  10. Include llmUsageByVisitor in API response

    Mahdi Naser Moghadasi
    ccf63e6
  11. Add LLM usage breakdown by visitor for date-filtered queries⁠

    Mahdi Naser Moghadasi
    af29a83
  12. Filter LLM usage and beta signups by date when date filter is applied⁠

    Mahdi Naser Moghadasi
    4dd1bd7
  13. Fix 500 error in analytics API with date filter and breakdown⁠

    Mahdi Naser Moghadasi
    f60f07b
  14. Add date filter and non-engaged breakdown to dashboard⁠

    Mahdi Naser Moghadasi
    2daef62
  15. Add breakdown of non-engaged visitors to analytics API⁠

    Mahdi Naser Moghadasi
    bc90d03

  1. Fix analytics tracking: traffic sources, button clicks, and bounce rate⁠

    Mahdi Naser Moghadasi
    4fcb5a2

  1. Fix session duration calculation and add engagement analytics⁠

    Mahdi Naser Moghadasi
    f98fe13
  2. Add button click tracking for Deep Discussion and Ask Question buttons⁠

    Mahdi Naser Moghadasi
    af25c18

  1. Add analytics data persistence to HF Hub (visits, referrers, questions, LLM usage)

    Mahdi Naser Moghadasi
    3d6ccf1
  2. Add referrer tracking: capture and display traffic sources (Direct, Google, Social, etc.)

    Mahdi Naser Moghadasi
    ee9c2d2
  3. Migrate analytics to SQLite database stored in /data folder for persistence

    Mahdi Naser Moghadasi
    21cda32

  1. Update analytics to use /data persistent storage with fallbacks

    Mahdi Naser Moghadasi
    ca60d9c
  2. Add beta user signup feature with popup modal and persistent button

    Mahdi Naser Moghadasi
    eb772cc

  1. Add detailed analytics tracking: questions, devices, OS, browser, LLM usage⁠

    Mahdi Naser Moghadasi
    3a053ea
  2. Improve analytics file path handling and error logging⁠

    Mahdi Naser Moghadasi
    2c66ff4
  3. Fix analytics permission error - use /tmp as fallback⁠

    Mahdi Naser Moghadasi
    002f6bd
  4. Add interview role-playing and analytics tracking⁠

    Mahdi Naser Moghadasi
    956cd1e