Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnalyticsEvent.StoreItemClick

public static Analytics.AnalyticsResult StoreItemClick(Analytics.StoreType storeType, string itemId, string itemName, IDictionary<string,object> eventData);

Parameters

storeType Set to StoreType.Premium if purchases use real-world money; otherwise, StoreType.Soft (required).
itemId A unique identifier for the item (required).
itemName The item's name (optional).
eventData Dictionary of custom parameters. (optional)

Returns

AnalyticsResult The result of the analytics event sent.

Description

Sends a store_item_click event.

Send this event when the player clicks on an item in the store.

Did you find this page useful? Please give it a rating: