Google Analytics-এর জন্য MCP সার্ভার ব্যবহার করে দেখুন।
GitHub থেকে ইনস্টল করুন এবং আরও বিশদ বিবরণের জন্য
ঘোষণাটি দেখুন।
Metric
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি রিপোর্টের পরিমাণগত পরিমাপ। উদাহরণস্বরূপ, মেট্রিক eventCount
হল ইভেন্টের মোট সংখ্যা। অনুরোধ 10 মেট্রিক পর্যন্ত অনুমোদিত হয়.
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"expression": string,
"invisible": boolean
} |
ক্ষেত্র |
---|
name | string মেট্রিকের নাম। মূল রিপোর্টিং পদ্ধতি যেমন runReport এবং batchRunReports দ্বারা সমর্থিত মেট্রিক নামের তালিকার জন্য API মেট্রিক্স দেখুন। runRealtimeReport পদ্ধতি দ্বারা সমর্থিত মেট্রিক নামের তালিকার জন্য রিয়েলটাইম মেট্রিক্স দেখুন। runFunnelReport পদ্ধতি দ্বারা সমর্থিত মেট্রিক নামের তালিকার জন্য ফানেল মেট্রিক্স দেখুন। expression নির্দিষ্ট করা হলে, name অনুমোদিত অক্ষর সেটের মধ্যে যে কোনো স্ট্রিং হতে পারে। উদাহরণস্বরূপ যদি expression হয় screenPageViews/sessions , তাহলে আপনি সেই মেট্রিকের নাম = viewsPerSession কল করতে পারেন। আপনার চয়ন করা মেট্রিক নামগুলি অবশ্যই রেগুলার এক্সপ্রেশনের সাথে মিলবে ^[a-zA-Z0-9_]$ । মেট্রিকগুলি metricFilter , orderBys এবং মেট্রিক expression name দ্বারা উল্লেখ করা হয়। |
expression | string প্রাপ্ত মেট্রিক্সের জন্য একটি গাণিতিক অভিব্যক্তি। উদাহরণস্বরূপ, ব্যবহারকারী প্রতি মেট্রিক ইভেন্ট গণনা হল eventCount/totalUsers । |
invisible | boolean রিপোর্ট প্রতিক্রিয়ায় একটি মেট্রিক অদৃশ্য কিনা তা নির্দেশ করে। যদি একটি মেট্রিক অদৃশ্য হয়, মেট্রিক প্রতিক্রিয়াতে একটি কলাম তৈরি করবে না, তবে metricFilter , orderBys বা একটি মেট্রিক expression ব্যবহার করা যেতে পারে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eMetrics quantify report data, such as the total events with \u003ccode\u003eeventCount\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can request up to 10 metrics in a report.\u003c/p\u003e\n"],["\u003cp\u003eMetrics are defined by \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eexpression\u003c/code\u003e for calculations, and \u003ccode\u003einvisible\u003c/code\u003e to control visibility.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ename\u003c/code\u003e can be a standard metric or a custom name when \u003ccode\u003eexpression\u003c/code\u003e is used.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eexpression\u003c/code\u003e enables creating calculated metrics like "Event count per user" (\u003ccode\u003eeventCount/totalUsers\u003c/code\u003e).\u003c/p\u003e\n"]]],["This document outlines the structure for defining quantitative measurements (metrics) within a report. Each metric has a `name` (a string that can be custom when using an `expression`), an optional `expression` (a mathematical formula to derive the metric), and an `invisible` boolean, the metric can be excluded from the report's output but used for filtering, ordering, or in other metrics' `expression` . Up to 10 metrics are allowed per request.\n"],null,["# Metric\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe quantitative measurements of a report. For example, the metric `eventCount` is the total number of events. Requests are allowed up to 10 metrics.\n\n| JSON representation |\n|------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": string, \"invisible\": boolean } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the metric. See the [API Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) for the list of metric names supported by core reporting methods such as `runReport` and `batchRunReports`. See [Realtime Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) for the list of metric names supported by the `runRealtimeReport` method. See [Funnel Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) for the list of metric names supported by the `runFunnelReport` method. If `expression` is specified, `name` can be any string that you would like within the allowed character set. For example if `expression` is `screenPageViews/sessions`, you could call that metric's name = `viewsPerSession`. Metric names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric `expression`. |\n| `expression` | `string` A mathematical expression for derived metrics. For example, the metric Event count per user is `eventCount/totalUsers`. |\n| `invisible` | `boolean` Indicates if a metric is invisible in the report response. If a metric is invisible, the metric will not produce a column in the response, but can be used in `metricFilter`, `orderBys`, or a metric `expression`. |"]]