إذا تم تحديد expression، يمكن أن تكون السمة name أي سلسلة تريدها. على سبيل المثال، إذا كانت قيمة expression هي screenPageViews/sessions، يمكنك طلب اسم هذا المقياس = viewsPerSession.
تتم الإحالة إلى المقاييس من قِبل name باللغات metricFilter وorderBys والمقياس expression.
expression
string
تمثّل هذه السمة تعبيرًا حسابيًا للمقاييس الناتجة. على سبيل المثال، مقياس عدد الأحداث لكل مستخدم هو eventCount/totalUsers.
invisible
boolean
يشير إلى ما إذا كان المقياس غير مرئي في ردّ التقرير. إذا كان المقياس غير مرئي، لن ينتج عنه عمود في الردّ، ولكن يمكن استخدامه في metricFilter أو orderBys أو مقياس expression.
تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]