hashedData

Use the below functions to pass hashed(SHA-256) data(email addresses and phone numbers) to the MSDK.

  • Pass hashed data asstring into these functions.
  • Phone numbers should be hashed to string in the following format: +(country code)(phone number) Example: +13303332222.
Wunderkind.shared.trackHashedLoggedIn(email: String hashedEmail, String hashedPhone)
Wunderkind.getInstance().trackHashedLoggedIn(String hashedEmail, String hashedPhone)
Wunderkind().trackHashedLoggedInWithPhone(email: string, phone: string)
Wunderkind.trackHashedLoggedInWithPhone(email: string, phone: number)

Pass hashed data into Customer for Purchase Event.

Hashed Customer

new Customer.createHashedCustomer(String hashedEmail, String hashedPhone)
Customer(email: String hashedEmail, String hashedPhone)
var customer = Customer(string, phone: number)
Customer.createHashedCustomerWithPhone(string, phone: number)