Event Items

While an event is like a purchase receipt, the event items in Attribution Analytics™ (AA) are the individual items purchased. Event items allow you to define multiple items for a single logging event. For example, if you go to the supermarket and buy 1 apple and 2 oranges, then these fruits are the event items for the single event (of the supermarket purchase).

While you can log server-side, this article describes how to include event items with logged events using the SDK (which is useful for logging various purchases and information about individual purchase events such as rooms booked, travel purchased, or virtual goods collected).

The event items allow you to include up to 5 custom string attributes. The max allowed length for these custom attributes is 255 characters.

In AA, you can view detailed data on the event items for an event. You can analyze event items in the Event Items Log report.

To start logging event items for your mobile app, follow the information below. TUNE provides a function template for each platform/plugin below. You can then insert the appropriate arguments based on the event items that you want to log.

Event Item Characteristics
Parameter Type Description
itemName String The name of the item.
unitPrice Double Individual price of one unit of the item.
quantity Integer Number of items purchased.
revenue Double Total value of the purchase (overrides quantity x unitPrice if non-zero).
attribute1 String Custom string for your optional use (max allowed length is 255 characters).
attribute2 String Custom string for your optional use (max allowed length is 255 characters).
attribute3 String Custom string for your optional use (max allowed length is 255 characters).
attribute4 String Custom string for your optional use (max allowed length is 255 characters).
attribute5 String Custom string for your optional use (max allowed length is 255 characters).

Select a preferred platform.

Example:

Select a preferred platform.

No Comments

Leave a reply