Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Add tracking for measurement_add event with measure_name parameter for annual report analysis" #901

Open
milediheb opened this issue Oct 28, 2024 · 0 comments

Comments

@milediheb
Copy link

I would like to track the measurement_added event for different types of measurements to generate a long-term report (e.g., over a period of one year). Currently, I can only view data for a short period (30 minutes), but I am unable to access a full report over longer durations, such as one year.

Context

The measurement_add event has a parameter called measure_name, which can take several values such as:
    weight (weight measurement)
    step_count (daily step count)
    glucose (blood glucose level)

Code Example: Here’s the current code used for tracking this event:

      this.firebaseX.logEvent('measurement_added', {
        measure_name: correspondingMeasure.name,
        timestamp: new Date().toISOString()
      });

Goal

Enable a detailed report based on measure_name, showing the frequency of different measurements over a one-year period. This report would help analyze trends across various measurement categories.

Requirements

Enable tracking of measurement_add for each measure_name.
Provide the ability to filter and export data for analysis over extended periods (e.g., 1 year).
Offer a step-by-step guide on generating and exporting a complete report with data filtering options for specific time frames.

Steps to Reproduce

Add a measurement using measurement_add and assign a measure_name (e.g., weight).
Repeat this operation over an extended period.

Expected Outcome

Being able to view a complete report with data on each measure_name for analyzing annual trends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant