প্রয়োজন। সাইটের নামের ট্যাগটি দেখতে হবে। মনে রাখবেন যে সাইট ট্যাগগুলি একক এবং অনন্য আইডি নেই৷ বিন্যাস: বৈশিষ্ট্য/{property_id}/dataStreams/{stream_id}/globalSiteTag
একটি ওয়েবসাইট থেকে ডেটাস্ট্রিমে ডেটা পাঠানোর জন্য ট্যাগ সহ রিড-ওনলি রিসোর্স৷ শুধুমাত্র ওয়েব ডেটাস্ট্রিম সংস্থানগুলির জন্য উপস্থিত।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব
{"name": string,"snippet": string}
ক্ষেত্র
name
string
শুধুমাত্র আউটপুট। এই GlobalSiteTag সম্পদের জন্য সম্পদের নাম। বিন্যাস: বৈশিষ্ট্য/{property_id}/dataStreams/{stream_id}/globalSiteTag উদাহরণ: "properties/123/dataStreams/456/globalSiteTag"
snippet
string
অপরিবর্তনীয়। জাভাস্ক্রিপ্ট কোড স্নিপেট প্রথম আইটেম হিসাবে পেস্ট করা হবে প্রতিটি ওয়েবপৃষ্ঠার হেড ট্যাগে পরিমাপ করার জন্য।
[[["সহজে বোঝা যায়","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-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eRetrieves the Site Tag, an immutable singleton, associated with a specific web stream.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP GET request with the format \u003ccode\u003eGET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}\u003c/code\u003e to fetch the tag.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the web stream's name using the path parameter \u003ccode\u003ename\u003c/code\u003e in the format \u003ccode\u003eproperties/{property_id}/dataStreams/{stream_id}/globalSiteTag\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eReturns a JSON response containing the site tag's name and the JavaScript snippet for website implementation.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with either \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.readonly\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This outlines retrieving a web stream's Site Tag via a `GET` request to a specified URL. The required `name` parameter, formatted as `properties/{property_id}/dataStreams/{stream_id}/globalSiteTag`, identifies the Site Tag. The request body must be empty. The successful response, in JSON format, provides a `name` (resource identifier) and an immutable `snippet` (JavaScript code) for website data measurement. This can be achieved through authorization with either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"],null,[]]