Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kullanıcı özellikleri, kullanıcı tabanınızın segmentlerini tanımlamak için belirlediğiniz özelliklerdir (ör. dil tercihi veya coğrafi konum).
Analytics bazı kullanıcı özelliklerini otomatik olarak günlüğe kaydettiğinden bunları etkinleştirmek için herhangi bir kod eklemeniz gerekmez. Uygulamanızın ek veri toplaması gerekiyorsa uygulamanızda 25'e kadar farklı Analytics kullanıcı özelliği
ayarlayabilirsiniz.
Başlamadan önce
Projenizi oluşturduğunuzdan ve C++ için Analytics ile Başlarken bölümünde açıklandığı gibi Analytics'ya erişebildiğinizden emin olun.
Kullanıcı özelliklerini ayarlama
Uygulamanızın kullanıcılarını tanımlamak için Analytics kullanıcı özellikleri ayarlayabilirsiniz.
Bu özellikleri raporlarınıza filtre olarak uygulayarak çeşitli kullanıcı segmentlerinin davranışlarını analiz edebilirsiniz.
SetUserProperty() yöntemiyle Analytics kullanıcı özelliği ayarlamak için kod ekleyin. Her özellik için istediğiniz adı ve değeri kullanabilirsiniz.
Aşağıdaki örnekte, dizedeki mFavoriteFood değerini etkin kullanıcıya atayan, varsayımsal bir favori yemek özelliğinin nasıl ekleneceği gösterilmektedir:
Analytics
raporlama kontrol panelini görüntülemek için menüden Analytics simgesini seçin.
Kullanıcı Özellikleri sekmesinde, uygulamanız için tanımladığınız kullanıcı özelliklerinin listesi gösterilir. Bu özellikleri, Google Analytics'da bulunan birçok raporda filtre olarak kullanabilirsiniz. Firebase Yardım Merkezi'nde Analytics raporlama kontrol paneli hakkında daha fazla bilgi edinin.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-09-03 UTC."],[],[],null,["\u003cbr /\u003e\n\nUser properties are attributes you define to describe segments of your user\nbase, such as language preference or geographic location.\n\nAnalytics automatically logs some\n[user properties](https://support.google.com/analytics/answer/9268042);\nyou don't need to add any code to enable them. If your app needs to collect\nadditional data, you can set up to 25 different Analytics user properties\nin your app.\n\nBefore you begin\n\nMake sure that you've set up your project and can access Analytics as\ndescribed in\n[Get Started with Analytics for C++](/docs/analytics/cpp/start#before_you_begin).\n\nSet user properties\n\nYou can set Analytics user properties to describe the users of your app.\nYou can analyze behaviors of various user segments by applying these\nproperties as filters to your reports.\n\nSet a user property as follows:\n\n1. [Register](https://support.google.com/firebase/answer/6317519?hl=en&ref_topic=6317489#create-property) the property in the **Analytics** tab\n of the [Firebase console](//console.firebase.google.com/).\n\n2. Add code to set an Analytics user property with the\n [`SetUserProperty()`](/docs/reference/cpp/namespace/firebase/analytics#setuserproperty) method. You can use the name and\n value of your choosing for each property.\n\nThe following example shows adding a hypothetical favorite food property, which\nassigns the value in the string `mFavoriteFood` to the active user: \n\n```c++\nSetUserProperty(\"favorite_food\", mFavoriteFood);\n```\n| **Note:** Once the property is registered, it can take several hours for data collected with the property to be included in reports. When the new data is available, the user property can be used as a report filter.\n\nYou can access this data as follows:\n\n1. In the [Firebase console](//console.firebase.google.com/), open your project.\n2. Select **Analytics** from the menu to view the Analytics reporting dashboard.\n\nThe **User Properties** tab shows a list of user properties that you have\ndefined for your app. You can use these properties as a filter on many of the\nreports available in Google Analytics. Read more about the\n[Analytics reporting dashboard](https://support.google.com/analytics/answer/11014767) in the Firebase Help Center.\n| **Note:** Data in the Analytics reporting dashboard refreshes periodically throughout the day."]]