試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
用戶端程式庫參考資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如需用戶端程式庫的使用範例,請參閱快速入門指南。
Go
go get google.golang.org/genproto/googleapis/analytics/data/v1beta
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThis page provides quick access to client libraries for Google Analytics Data API in various programming languages including Java, PHP, Python, Node.js, .NET, Ruby and Go.\u003c/p\u003e\n"],["\u003cp\u003eFor each language, you can find installation guides, reference documentation, public artifacts, source code, and samples to help you get started.\u003c/p\u003e\n"],["\u003cp\u003eThese libraries allow developers to easily integrate Google Analytics data into their applications using their preferred language.\u003c/p\u003e\n"],["\u003cp\u003eConsult the quick start guide for practical examples of utilizing these libraries.\u003c/p\u003e\n"]]],["Client library information for Google Analytics Data is provided for Java, PHP, Python, Node.js, .NET, Ruby, and Go. Each language section includes links for installation, reference documentation, public artifacts, client library source code, and code samples. The Go section provides a command to get the code along with links to documentation, artifact and the library source code. A quick start guide with more examples is available.\n"],null,["# Client Libraries Reference\n\nSee the [Quick start guide](/analytics/devguides/reporting/data/v1/quickstart-client-libraries) for examples of using the\nclient libraries. \n\n### Java\n\n-\n [Java client library installation guide](https://github.com/googleapis/google-cloud-java/blob/main/java-analytics-data/README.md)\n\n- [Reference documentation](https://googleapis.dev/java/google-analytics-data/latest/index.html)\n\n- [Public artifact](https://search.maven.org/artifact/com.google.analytics/google-analytics-data)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-java/tree/main/java-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/java-docs-samples/tree/main/google-analytics-data)\n\n### PHP\n\n-\n [PHP client library installation guide](https://github.com/googleapis/php-analytics-data#installation)\n\n- [Reference documentation](https://cloud.google.com/php/docs/reference/analytics-data/latest)\n\n- [Public artifact](https://packagist.org/packages/google/analytics-data)\n\n- [Client library source code](https://github.com/googleapis/php-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/php-docs-samples/tree/main/google-analytics-data)\n\n### Python\n\n-\n [Python client library installation guide](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-analytics-data/README.rst#installation)\n\n- [Reference documentation](https://googleapis.dev/python/analyticsdata/latest/index.html)\n\n- [Public artifact](https://pypi.org/project/google-analytics-data/)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/python-docs-samples/tree/main/google-analytics-data)\n\n### Node.js\n\n-\n [Node.js client library installation guide](https://googleapis.dev/nodejs/analytics-data/latest/index.html#installing-the-client-library)\n\n- [Reference documentation](https://googleapis.dev/nodejs/analytics-data/latest/index.html)\n\n- [Public artifact](https://www.npmjs.com/package/@google-analytics/data)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/nodejs-docs-samples/tree/main/google-analytics-data)\n\n### .NET\n\n-\n [.NET client library installation guide](https://www.nuget.org/packages/Google.Analytics.Data.V1Beta#package-manager)\n\n- [Reference documentation](https://googleapis.dev/dotnet/Google.Analytics.Data.V1Beta/latest/api/Google.Analytics.Data.V1Beta.html)\n\n- [Public artifact](https://www.nuget.org/packages/Google.Analytics.Data.V1Beta)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-dotnet/tree/main/apis/Google.Analytics.Data.V1Beta)\n\n- [Samples](https://github.com/googleanalytics/dotnet-docs-samples/tree/main/analytics-data)\n\n### Ruby\n\n-\n [Ruby client library installation guide](https://github.com/googleapis/google-cloud-ruby/tree/main/google-analytics-data-v1beta#installation)\n\n- [Reference documentation](https://googleapis.dev/ruby/google-analytics-data-v1beta/latest/index.html)\n\n- [Public artifact](https://rubygems.org/gems/google-analytics-data-v1beta)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-ruby/tree/main/google-analytics-data-v1beta)\n\n### Go\n\n\n```\ngo get google.golang.org/genproto/googleapis/analytics/data/v1beta\n```\n\n\u003cbr /\u003e\n\n- [Reference documentation](https://pkg.go.dev/google.golang.org/genproto/googleapis/analytics/data/v1beta)\n\n- [Public artifact](https://pkg.go.dev/google.golang.org/genproto/googleapis/analytics/data/v1beta)\n\n- [Client library source code](https://github.com/googleapis/go-genproto/tree/main/googleapis/analytics/data/v1beta)"]]