אם מציינים expression, הערך name יכול להיות כל מחרוזת שרוצים. לדוגמה, אם expression הוא screenPageViews/sessions, אפשר לקרוא לשם המדד הזה = viewsPerSession.
המדדים מוזכרים כאן: name ב-metricFilter, ב-orderBys ובמדד expression.
expression
string
ביטוי מתמטי למדדים נגזרים. לדוגמה, המדד 'מספר האירועים לכל משתמש' הוא eventCount/totalUsers.
invisible
boolean
מציין אם מדד מסוים לא גלוי בתשובה לדוח. אם מדד מסוים לא נראה, המדד לא ייצור עמודה בתשובה, אבל אפשר להשתמש בו ב-metricFilter, ב-orderBys או במדד expression.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["Metrics quantify report data, such as the total events using `eventCount`."],["Metrics are defined by their `name`, an optional `expression` for calculations, and an `invisible` property to control visibility."],["Refer to the API Metrics documentation for predefined metric names and usage in filters, ordering, and expressions."],["Custom metric names can be used when defining them with `expression`, enabling flexibility in analysis."]]],["The document defines report metrics, which are quantitative measurements like `eventCount`. Reports can include up to 10 metrics. Each metric has a `name` (string), which can be custom if an `expression` (a mathematical string) is used for derived metrics. An `invisible` boolean property can hide a metric from the report's columns while still allowing its use in filters, ordering, or other expressions.\n"]]