🌎
Proximity SDK
  • Introduction
  • Consent
  • Installing the SDK
    • iOS
    • Android
  • Mail-Hash Sharing
  • Data Tags
Powered by GitBook
On this page

Was this helpful?

Mail-Hash Sharing

PreviousAndroidNextData Tags

Last updated 3 years ago

Was this helpful?

In order to send mail-hash information, first you'll need to set it up with your Next Media account. To send the mail-hash it is necessary to use the SDK Data Tags.

  • Documentation for Android of Data Tags:

  • Documentation for iOS Data Tags:

In both cases it will be necessary to send 2 hashes:

  • umah => SHA256 (UpperCase (usermail))

  • lmah => SHA256 (LowerCase (usermail))

For the same email paolo.rossi@gmail.com we will have:

  • LOWERCASE_MAIL_HASH = SHA256 (paolo.rossi@gmail.com) => 9b9d1947894dce67daab7a33230803fe59cf924818babba783e90b0574cd615c

  • UPPERCASE_MAIL_HASH = SHA256 (PAOLO.ROSSI@GMAIL.COM) => 174e9a8f4f084dfeaae0dc8bf00354bb25eca1936481f3ad7da624b1383c2f1b

In this case for Android, for example it will be necessary to enter:

ProximitySDK.getInstance (). SendTag ("lmah", LOWERCASE_MAIL_HASH);
ProximitySDK.getInstance (). SendTag ("umah", UPPERCASE_MAIL_HASH);
https://github.com/jointag/JTProximitySDK-Android#user-content-data-tags
https://github.com/jointag/JTProximitySDK-iOS#user-content-data-tags