Use the below functions to pass hashed(SHA-256) data(email addresses and phone numbers) to the MSDK.
- Pass hashed data as
stringinto 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
Customerfor Purchase Event.
Hashed Customer
new Customer.createHashedCustomer(String hashedEmail, String hashedPhone)Customer(hashedEmail: String, hashedPhone: String)var customer = Customer.createHashedCustomerWithPhone(email: string, phone: number)Customer.createHashedCustomerWithPhone(string, phone: number)