YMMECommerceReferrer class

This class contains information about the source of traffic. For example, a link to the page or screen that shows a product profile.

Instance methods

init(type:identifier:screen:)

Initializes the instance of the YMMECommerceReferrer class with information about the source of traffic.

init(type:identifier:screen:)

Initializes the instance of the YMMECommerceReferrer class with information about the source of traffic.

Properties

type

Traffic source type: The type of object that traffic comes from. For example: “button”, “banner”, or “href”. Allowed size: Up to 100 characters.

identifier

Traffic source ID. Allowed size: Up to 2048 characters.

screen

Traffic source screen: The screen that traffic comes from.

type

Traffic source type: The type of object that traffic comes from. For example: “button”, “banner”, or “href”. Allowed size: Up to 100 characters.

identifier

Traffic source ID. Allowed size: Up to 2048 characters.

screen

Traffic source screen: The screen that traffic comes from.

Method descriptions

init(type:identifier:screen:)

init(type: String?, identifier: String?, screen: YMMECommerceScreen?)

Initializes the instance of the YMMECommerceReferrer class with information about the source of traffic.

Parameters:
type

Traffic source type: The type of object that traffic comes from. For example: “button”, “banner”, or “href”. Allowed size: Up to 100 characters.

identifier

Traffic source ID. Allowed size: Up to 2048 characters.

screen

Traffic source screen: The screen that traffic comes from.

type

Traffic source type: The type of object that traffic comes from. For example: “button”, “banner”, or “href”. Allowed size: Up to 100 characters.

identifier

Traffic source ID. Allowed size: Up to 2048 characters.

screen

Traffic source screen: The screen that traffic comes from.

Returns:

The YMMECommerceReferrer class instance.

Property descriptions

type

var type: String? { get }

Traffic source type: The type of object that traffic comes from. For example: “button”, “banner”, or “href”. Allowed size: Up to 100 characters.

identifier

var identifier: String? { get }

Traffic source ID. Allowed size: Up to 2048 characters.

screen

var screen: YMMECommerceScreen? { get }

Traffic source screen: The screen that traffic comes from.