<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo" -->

---
title: Firebase Analytics Quick Tip: The 'value' Parameter
description: Firebase Analytics events support an optional 'value' parameter (a float or integer) that lets you track averages over time, such as average workout duration,...
canonical: https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Firebase Analytics Quick Tip: The 'value' Parameter | daily.dev
og:description: Firebase Analytics events support an optional 'value' parameter (a float or integer) that lets you track averages over time, such as average workout duration,...
og:url: https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo
og:image: https://api.daily.dev/og/posts/sfiO3tlfO.png
og:image:alt: Firebase Analytics Quick Tip: The 'value' Parameter
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Firebase Analytics Quick Tip: The 'value' Parameter

**[Firebase](https://daily.dev/sources/firebase-blog)** · 3 min read · 0 upvotes · 0 comments

## Summary

Firebase Analytics events support an optional 'value' parameter (a float or integer) that lets you track averages over time, such as average workout duration, without needing BigQuery. The post walks through logging a workout_complete event with and without the value parameter, showing how adding kFIRParameterValue exposes a 'Value' graph alongside the event count graph in the Firebase console. This works per-event, so different events can track different value semantics (workout time, friends invited, calories consumed), though comparing values across event sub-types still requires BigQuery.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://firebase.blog/posts/2017/02/firebase-analytics-quick-tip-value>

## Questions this post answers

### How do I track the average value of a custom Firebase Analytics event, like workout duration?

Add a 'value' parameter (kFIRParameterValue) to the event, set to a float or integer, such as workout duration in seconds. Firebase Analytics then displays a 'Value' graph alongside the event count graph, showing the total and implied average over time, for example about 1.5 million seconds across 1400 workouts equals roughly 17 minutes per workout.

_daily.dev surfaces practical Firebase Analytics tips like this for developers instrumenting app events._

### Can Firebase Analytics compare average values across different sub-types of the same event without BigQuery?

No, the value parameter only shows an aggregate average for an entire event name, such as workout_complete overall. To compare averages between sub-types, like interval workouts versus yoga workouts, exporting data to BigQuery for custom analysis is required.

_Developers weighing Firebase Analytics against BigQuery for deeper reporting can track these tradeoffs on daily.dev._

## Similar posts on daily.dev

- [First-party analytics with SQLite](https://daily.dev/posts/first-party-analytics-with-sqlite-p5rk4jwpz) · Flavio Copes · 1 upvotes · 0 comments
- [Cloudflare Analytics Engine: store and query metrics](https://daily.dev/posts/cloudflare-analytics-engine-store-and-query-metrics-rynbqur3d) · Flavio Copes · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#firebase](https://daily.dev/tags/firebase)

[View this post on daily.dev](https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Firebase Analytics Quick Tip: The 'value' Parameter","url":"https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo"},"datePublished":"2026-08-23T12:21:13.410Z","dateModified":"2026-08-23T12:36:16.974Z","description":"Firebase Analytics events support an optional 'value' parameter (a float or integer) that lets you track averages over time, such as average workout duration,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Firebase","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Firebase","logo":"https://media.daily.dev/image/upload/s--i395oqZH--/f_auto,q_auto/v1787487448/logos/firebase-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/firebase-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,firebase","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Firebase","item":"https://daily.dev/sources/firebase-blog"},{"@type":"ListItem","position":3,"name":"Firebase Analytics Quick Tip: The 'value' Parameter"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/firebase-analytics-quick-tip-the-value-parameter-sfio3tlfo#faq","mainEntity":[{"@type":"Question","name":"How do I track the average value of a custom Firebase Analytics event, like workout duration?","acceptedAnswer":{"@type":"Answer","text":"Add a 'value' parameter (kFIRParameterValue) to the event, set to a float or integer, such as workout duration in seconds. Firebase Analytics then displays a 'Value' graph alongside the event count graph, showing the total and implied average over time, for example about 1.5 million seconds across 1400 workouts equals roughly 17 minutes per workout. daily.dev surfaces practical Firebase Analytics tips like this for developers instrumenting app events."}},{"@type":"Question","name":"Can Firebase Analytics compare average values across different sub-types of the same event without BigQuery?","acceptedAnswer":{"@type":"Answer","text":"No, the value parameter only shows an aggregate average for an entire event name, such as workout_complete overall. To compare averages between sub-types, like interval workouts versus yoga workouts, exporting data to BigQuery for custom analysis is required. Developers weighing Firebase Analytics against BigQuery for deeper reporting can track these tradeoffs on daily.dev."}}]}
```

