目录

HAEventType

A class that provides the ID constants of all predefined events.

Qualifier and TypeConstant FieldValue

static NSString *const

kCreatePaymentInfo

Event reported when a user has added payment information but has not initiated payment during checkout.

It can be used with StartCheckout and CompletePurchase to construct funnel analysis for the checkout process.

static NSString *const

kAddProduct2Cart

Event reported when a user adds a product to the shopping cart.

It can be used with ViewProduct and StartCheckout to construct funnel analysis for product purchase. It can also be used to analyze products that users are interested in, helping you promote the products to the users.

static NSString *const

kAddProduct2WishList

Event reported when a user adds a product to favorites.

It can be used to analyze products that users are interested in, helping you promote the products to the users.

static NSString *const

kStartApp

Event reported when a user launches the app.

static NSString *const

kStartCheckout

Event reported when a user clicks the checkout button after placing an order. It can be used with ViewProduct and CompletePurchase to construct funnel analysis for the e-commerce purchase conversion rate.

static NSString *const

kViewCampaign

Event reported when a user view details of a marketing campaign. It can be used to analyze the conversion rate of a marketing campaign.

static NSString *const

kViewCheckoutStep

Event reported after each step in the multi-step checkout process is completed. It can be used to analyze the conversion rate of each step in the checkout process, supporting product design optimization.

static NSString *const

kWinVirtualCoin

Event reported when a user obtains virtual currency. It can be used to analyze the difficulty for users to obtain virtual currency, which helps you optimize the product design.

static NSString *const

kCompletePurchase

Event reported after a user purchases a product. It can be used to analyze the products or contents that users are more interested in, supporting operations policy optimization.

static NSString *const

kObtainLeads

Event reported when a sales lead is obtained. For example, it can be reported after a user touches the ad placed by a developer and fills in and submits the contact information. In this case, the event is used to evaluate the possible revenue brought by the lead to developers. In addition, the event can also be used to evaluate the ROI of the placed ad.

static NSString *const

kJoinUserGroup

Event reported when a user joins in a group, for example, joining in a group chart in a social app. It can be used to evaluate the attractiveness of your product's social features to users.

static NSString *const

kStartLevel

Event reported when a user starts a game level in a game app.

It can be used together with CompleteLevel to analyze whether the game level design is proper and make targeted optimization policies.

static NSString *const

kCompleteLevel

Event reported when a user completes a game level in a game app. It can be used with StartLevel to analyze whether the game level design is proper and make targeted optimization policies.

static NSString *const

kUpgradeLevel

Event reported when a user levels up in a game app. It can be used to analyze whether your product's user level design is optimal and make targeted optimization policies.

static NSString *const

kSignIn

Event reported when a user signs in to an app requiring sign-in. It can be used to analyze users' sign-in habits and make targeted operations policies.

static NSString *const

kSubmitScore

Event reported when a user submits the score in a game or education app. It can be used to analyze the difficulty of product content and make targeted optimization policies.

static NSString *const

kCreateOrder

Event reported when the order details are displayed before checkout. It can be used with events such as ViewProduct and CompletePurchase to construct an analysis funnel for analyzing user churn in each phase and make optimization policies.

static NSString *const

kRefundOrder

Event reported when the refund is successful for a user. It can be used to analyze loss caused by the refund and make targeted optimization policies.

static NSString *const

kDelProductFromCart

Event reported when a user removes a product from the shopping cart. It can be used for marketing to the user.

static NSString *const

kSearch

Event reported when a user searches for content in an app. It can be used with events such as ViewSearchResult and ViewProduct to analyze the accuracy of search results.

static NSString *const

kViewContent

Event reported when a user touches a content, for example, touching a product in the product list in an e-commerce app to view the product details. It can be used to analyze the products that users are interested in.

static NSString *const

kUpdateCheckoutOption

Event reported when a user sets some checkout options during checkout. It can be used to analyze checkout preferences of users.

static NSString *const

kShareContent

Event reported when a user shares a product or content through a social channel. It can be used to analyze users' loyalty to the product.

static NSString *const

kRegisterAccount

Event reported when a user registers an account. It can be used to analyze the user sources and optimize operations policies.

static NSString *const

kConsumeVirtualCoin

Event reported when a user consumes virtual currency. It can be used to analyze the products that users are interested in.

static NSString *const

kStartTutorial

Event reported when a user starts to use the tutorial. It can be used with CompleteTutorial to evaluate the tutorial quality and formulate targeted optimization policies.

static NSString *const

kCompleteTutorial

Event reported when a user completes the tutorial. It can be used with StartTutorial to evaluate the tutorial quality and formulate targeted optimization policies.

static NSString *const

kObtainAchievement

Event reported when a user unlocks an achievement. It can be used to analyze whether the achievement level design is optimal and make targeted optimization policies.

static NSString *const

kViewProduct

Event reported when a user browses a product. It can be used to analyze the products that users are interested in, or used with other events for funnel analysis.

static NSString *const

kViewProductList

Event reported when a user browses a list of products, for example, browsing the list of products by category. It can be used to analyze the types of contents that users are more interested in.

static NSString *const

kViewSearchResult

Event reported when a user views the search results. It can be used withViewProduct and Search to measure the accuracy of the search algorithm.

HAParamType

A class that provides the IDs of all predefined parameters, including the ID constants of predefined parameters and user attributes.

Qualifier and TypeConstant FieldValue

static NSString *const

kStoreName

Store of the product added to favorites.

static NSString *const

kBrand

Brand of the product added to favorites.

static NSString *const

kCategory

Category of the product added to favorites.

static NSString *const

kProductId

ID of the product added to the shopping cart.

static NSString *const

kProductName

Name of the product added to the shopping cart.

static NSString *const

kProductFeature

Features of the associated product.

static NSString *const

kPrice

Product price.

static NSString *const

kQuantity

Number of products purchased by a user.

static NSString *const

kRevenue

Revenue you receive through the transaction.

static NSString *const

kCurrName

Revenue currency type. This parameter must be used together with <cf id="Bold">$Revenue</cf>.

static NSString *const

kPlaceId

ID of the product location.

static NSString *const

kDestination

User destination for a hotel reservation.

static NSString *const

kEndDate

User check-out date for a hotel reservation.

static NSString *const

kBookingDays

Number of days a user books for a hotel reservation.

static NSString *const

kPassengersNumber

Number of guests a user books for a hotel reservation.

static NSString *const

kBookingRooms

Number of rooms a user books for a hotel reservation.

static NSString *const

kOriginatingPlace

User departure location for a hotel reservation.

static NSString *const

kBeginDate

User check-in date for a hotel reservation.

static NSString *const

kTransactionId

Transaction ID generated by your transaction system.

static NSString *const

kClass

Level of a room booked by a user for a hotel reservation.

static NSString *const

kClickId

ID generated by the ad network and used to record ad clicks.

static NSString *const

kPromotionName

Name of a marketing activity.

static NSString *const

kContent

Marketing content of a marketing activity.

static NSString *const

kExtendParam

Custom parameter.

static NSString *const

kMaterialName

Name of the creative material used in a marketing activity.

static NSString *const

kMaterialSlot

ID of the slot where a creative material is displayed.

static NSString *const

kMedium

Type of a marketing activity, for example, CPC or email.

static NSString *const

kSource

ID of a marketing activity provider, for example, HUAWEI PPS.

static NSString *const

kKeywords

Search string or keyword.

static NSString *const

kOption

Check-out option entered by a user in the current check-out step.

static NSString *const

kStep

Current step of a user in the check-out process.

static NSString *const

kVirtualCurrName

Transportation fee generated for the transaction.

static NSString *const

kVoucher

Departure date, hotel check-in date, or lease start date.

static NSString *const

kPlace

ID of the product location.

static NSString *const

kShipping

Transportation fee generated for the transaction.

static NSString *const

kTaxFee

Tax generated for the transaction.

static NSString *const

kUserGroupId

ID of the user group that a user joins.

static NSString *const

kLevelName

Name of a game level.

static NSString *const

kResult

Operation result.

static NSString *const

kRoleName

Role of a user.

static NSString *const

kLevelId

Game level.

static NSString *const

kChannel

Indicates the particular method used in an operation. For example, facebook or email in the context of a sign-up or sign-in event.

static NSString *const

kScore

Score in a game.

static NSString *const

kSearchKeywords

Search string or keyword.

static NSString *const

kContentType

Content type selected by a user.

static NSString *const

kAchievementId

ID of an achievement.

static NSString *const

kFlightNo

Flight number generated by your transaction system.

static NSString *const

kPositionId

Index of a product in the list.

static NSString *const

kProductList

Product list displayed to a user.

static NSString *const

kArchievementId

Achievement ID.

static NSString *const

kAcountType

Account type of a user, for example, email or mobile number.

static NSString *const

kOccurredTime

Time when a user purchases a product.

static NSString *const

kEvtResult

Sign-in result.

static NSString *const

kPrevLevel

Level before the change.

static NSString *const

kCurrvLevel

Current level.

static NSString *const

kReason

Reason for changing or canceling an order.

static NSString *const

kVouchers

Names of vouchers applicable to a product.

static NSString *const

kListId

Product ID list.

static NSString *const

kFilters

Filter condition.

static NSString *const

kSorts

Sorting condition.

static NSString *const

kOrderId

Order ID generated by your transaction system.

static NSString *const

kPayType

Payment mode selected by a user.

static NSString *const

kExpireDate

Expiration time of a voucher.

static NSString *const

kVoucherType

Voucher type.

static NSString *const

kServiceType

Type of a service provided for a user, for example, consultation or complaint.