A konzolhoz

Firebase.Analytics.FirebaseAnalytics

FirebaseAnalytics API.

Summary

See the developer guides for general information on using FirebaseAnalytics in your apps.

Properties

EventAddPaymentInfo
static string
Add Payment Info event.
EventAddToCart
static string
E-Commerce Add To Cart event.
EventAddToWishlist
static string
E-Commerce Add To Wishlist event.
EventAppOpen
static string
App Open event.
EventBeginCheckout
static string
E-Commerce Begin Checkout event.
EventCampaignDetails
static string
Campaign Detail event.
EventCheckoutProgress
static string
Checkout progress.
EventEarnVirtualCurrency
static string
Earn Virtual Currency event.
EventEcommercePurchase
static string
E-Commerce Purchase event.
EventGenerateLead
static string
Generate Lead event.
EventJoinGroup
static string
Join Group event.
EventLevelEnd
static string
Level End event.
EventLevelStart
static string
Level Start event.
EventLevelUp
static string
Level Up event.
EventLogin
static string
Login event.
EventPostScore
static string
Post Score event.
EventPresentOffer
static string
Present Offer event.
EventPurchaseRefund
static string
E-Commerce Purchase Refund event.
EventRemoveFromCart
static string
Remove from cart event.
EventSearch
static string
Search event.
EventSelectContent
static string
Select Content event.
EventSetCheckoutOption
static string
Set checkout option.
EventShare
static string
Share event.
EventSignUp
static string
Sign Up event.
EventSpendVirtualCurrency
static string
Spend Virtual Currency event.
EventTutorialBegin
static string
Tutorial Begin event.
EventTutorialComplete
static string
Tutorial End event.
EventUnlockAchievement
static string
Unlock Achievement event.
EventViewItem
static string
View Item event.
EventViewItemList
static string
View Item List event.
EventViewSearchResults
static string
View Search Results event.
ParameterAchievementId
static string
ParameterAdNetworkClickID
static string
Ad Network Click ID (string).
ParameterAffiliation
static string
The store or affiliation from which this transaction occurred (string).
ParameterCP1
static string
Campaign custom parameter (string).
ParameterCampaign
static string
The individual campaign name, slogan, promo code, etc.
ParameterCharacter
static string
Character used in game (string).
ParameterCheckoutOption
static string
Some option on a step in an ecommerce flow (string).
ParameterCheckoutStep
static string
The checkout step (1..N) (unsigned 64-bit integer).
ParameterContent
static string
Campaign content (string).
ParameterContentType
static string
Type of content selected (string).
ParameterCoupon
static string
Coupon code for a purchasable item (string).
ParameterCreativeName
static string
The name of a creative used in a promotional spot (string).
ParameterCreativeSlot
static string
The name of a creative slot (string).
ParameterCurrency
static string
Purchase currency in 3-letter ISO_4217 format (string).
ParameterDestination
static string
Flight or Travel destination (string).
ParameterEndDate
static string
The arrival date, check-out date or rental end date for the item.
ParameterExtendSession
static string
Indicates that the associated event should either extend the current session or start a new session if no session was active when the event was logged.
ParameterFlightNumber
static string
Flight number for travel events (string).
ParameterGroupId
static string
ParameterIndex
static string
Index of an item in a list (signed 64-bit integer).
ParameterItemBrand
static string
Item brand (string).
ParameterItemCategory
static string
Item category (string).
ParameterItemId
static string
ParameterItemList
static string
The list in which the item was presented to the user (string).
ParameterItemLocationId
static string
ParameterItemName
static string
Item name (string).
ParameterItemVariant
static string
Item variant (string).
ParameterLevel
static string
Level in game (signed 64-bit integer).
ParameterLevelName
static string
The name of a level in a game (string).
ParameterLocation
static string
Location (string).
ParameterMedium
static string
The advertising or marParameter(eting, cpc, banner, email), push.
ParameterMethod
static string
A particular approach used in an operation; for example, "facebook" or "email" in the context of a sign_up or login event.
ParameterNumberOfNights
static string
Number of nights staying at hotel (signed 64-bit integer).
ParameterNumberOfPassengers
static string
Number of passengers traveling (signed 64-bit integer).
ParameterNumberOfRooms
static string
Number of rooms for travel events (signed 64-bit integer).
ParameterOrigin
static string
Flight or Travel origin (string).
ParameterPrice
static string
Purchase price (double).
ParameterQuantity
static string
Purchase quantity (signed 64-bit integer).
ParameterScore
static string
Score in game (signed 64-bit integer).
ParameterSearchTerm
static string
The search string/eywords used (string).
ParameterShipping
static string
Shipping cost (double).
ParameterSignUpMethod
static string
Sign up method (string).
ParameterSource
static string
The origin of your traffic, such as an Ad network (for example, google) or partner (urban airship).
ParameterStartDate
static string
The departure date, check-in date or rental start date for the item.
ParameterSuccess
static string
The result of an operation.
ParameterTax
static string
Tax amount (double).
ParameterTerm
static string
If you're manually tagging eyword campaigns, you should use utm_term to specify the eyword (string).
ParameterTransactionId
static string
ParameterTravelClass
static string
Travel class (string).
ParameterValue
static string
A context-specific numeric value which is accumulated automatically for each event type.
ParameterVirtualCurrencyName
static string
Name of currency type (string).
UserPropertyAllowAdPersonalizationSignals
static string
Indicates whether events logged by Google Analytics can be used to personalize ads for the user.
UserPropertySignUpMethod
static string
The method used to sign in.

Public static functions

GetAnalyticsInstanceIdAsync()
Get the instance ID from the analytics service.
LogEvent(string name, string parameterName, string parameterValue)
void
Log an event with one string parameter.
LogEvent(string name, string parameterName, double parameterValue)
void
Log an event with one float parameter.
LogEvent(string name, string parameterName, long parameterValue)
void
Log an event with one 64-bit integer parameter.
LogEvent(string name, string parameterName, int parameterValue)
void
Log an event with one integer parameter (stored as a 64-bit integer).
LogEvent(string name)
void
Log an event with no parameters.
LogEvent(string name, params Parameter[] parameters)
unsafe void
Log an event with associated parameters.
ResetAnalyticsData()
void
Clears all analytics data for this app from the device and resets the app instance id.
SetAnalyticsCollectionEnabled(bool enabled)
void
Sets whether analytics collection is enabled for this app on this device.
SetCurrentScreen(string screenName, string screenClass)
void
Sets the current screen name and screen class, which specifies the current visual context in your app.
SetMinimumSessionDuration(System.TimeSpan timeSpan)
void
Deprecated. SetMinimumSessionDuration is deprecated and no longer functional.
Sets the minimum engagement time required before starting a session.
SetSessionTimeoutDuration(System.TimeSpan timeSpan)
void
Sets the duration of inactivity that terminates the current session.
SetUserId(string userId)
void
Sets the user ID property.
SetUserProperty(string name, string property)
void
Set a user property to the given value.

Properties

EventAddPaymentInfo

static string EventAddPaymentInfo

Add Payment Info event.

This event signifies that a user has submitted their payment information to your app.

EventAddToCart

static string EventAddToCart

E-Commerce Add To Cart event.

This event signifies that an item was added to a cart for purchase. Add this event to a funnel with EventEcommercePurchase to gauge the effectiveness of your checParameter(out, If you supply the ParameterValue parameter), you must also supply the ParameterCurrency parameter so that revenue metrics can be computed accurately. Params:

  • ParameterQuantity (signed 64-bit integer)
  • ParameterItemID (string)
  • ParameterItemName (string)
  • ParameterItemCategory (string)
  • ParameterItemLocationID (string) (optional)
  • ParameterPrice (double) (optional)
  • ParameterCurrency (string) (optional)
  • ParameterValue (double) (optional)
  • ParameterOrigin (string) (optional)
  • ParameterDestination (string) (optional)
  • ParameterStartDate (string) (optional)
  • ParameterEndDate (string) (optional)

EventAddToWishlist

static string EventAddToWishlist

E-Commerce Add To Wishlist event.

This event signifies that an item was added to a wishlist. Use this event to identify popular gift items in your app. Note: If you supply the ParameterValue parameter, you must also supply the ParameterCurrency parameter so that revenue metrics can be computed accurately. Params:

  • ParameterQuantity (signed 64-bit integer)
  • ParameterItemID (string)
  • ParameterItemName (string)
  • ParameterItemCategory (string)
  • ParameterItemLocationID (string) (optional)
  • ParameterPrice (double) (optional)
  • ParameterCurrency (string) (optional)
  • ParameterValue (double) (optional)

EventAppOpen

static string EventAppOpen

App Open event.

By logging this event when an App becomes active, developers can understand how often users leave and return during the course of a Session. Although Sessions are automatically reported, this event can provide further clarification around the continuous engagement of app-users.

EventBeginCheckout

static string EventBeginCheckout

E-Commerce Begin Checkout event.

This event signifies that a user has begun the process of checking out. Add this event to a funnel with your EventEcommercePurchase event to gauge the effectiveness of your checkout process. Note: If you supply the ParameterValue parameter, you must also supply the ParameterCurrency parameter so that revenue metrics can be computed accurately. Params:

  • ParameterValue (double) (optional)
  • ParameterCurrency (string) (optional)
  • ParameterTransactionID (string) (optional)
  • ParameterStartDate (string) (optional)
  • Param