Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

...

In SDK, besides customEvent, there are 2 more methods to collect data: login and register. Like the CustomEvent method, the login and signup methods take a mandatory and an optional parameter. The first parameter is exVisitorId, which uniquely identifies the user and cannot be blank. The second parameter properties are optional.

In order for your data coming from the mobile channel to be uploaded to RMC, make sure that the data coming from the mobile channel comes with this reference, whatever the reference value you used in your active RMC account (KEY_ID* or E-Mail).

*KEY_ID: The id values used by the application owner to deduplicate its customer. These may be expressed by different names such as CRM id, userid, customerid, accountid.

...

Code Block
languageswift
RelatedDigital.customEvent("SAYFAPAGE_ISMINAME", properties: [String: String]())

...

Code Block
languageswift
properties["OM.pv"] = "12345" //Kullanıcının görüntülediği ürünün kodu The code of the product viewed by the user
properties["OM.pn"] = "ABCDE" //Kullanıcının görüntülediği ürünün adı The name of the product viewed by the user
properties["OM.ppr"] = "123.45" //Kullanıcının görüntülediği ürünün fiyatı The price of the product viewed by the user
properties["OM.pv.1"] = "XYZ" //Kullanıcının görüntülediği ürünün markası The brand of the product viewed by the user
properties["OM.inv"] = "10" //Kullanıcının görüntülediği ürünün kalan stok adeti The remaining stock quantity of the product viewed by the user
RelatedDigital.customEvent("Product View", properties: properties)

...

Code Block
languageswift
properties["OM.clist"] = "123" // KategoriCategory KoduCode / IDsiID
RelatedDigital.customEvent("Category View", properties: properties)

...