PII Data Encryption

MoEngage allows the encryption of user attributes and event attributes marked as Personally Identifiable Information (PII). Any attribute with data encryption also has masking enabled by default. These attributes do not appear on the MoEngage UI, and other users within your workspace (such as marketers, managers, analysts, and developers) cannot download them.

Enable PII Data Encryption

You can enable data encryption for all user and event attributes, except for a list of reserved, non-encryptable attributes. For more information, refer to the list of reserved attributes for which data encryption is not supported.

info

Note

  • To enable PII encryption, contact your CSM or raise a support ticket.
  • Make sure you mark the attribute as "encrypted" using test values before sending the majority of the data, or the actual data. It is important to note that any data received after the attribute is marked as encrypted will itself be encrypted during storage, while the data received before it will remain unchanged.
  • Attributes marked as encrypted once cannot be decrypted or unmasked.
  • Users with Admin roles can see the attributes in their encrypted form. However, users with other roles cannot view or download them, as these attributes are not displayed on the User Profile, Reporting, Analytics, and Segmentation pages.
  • After encryption is enabled, it may take up to 15 minutes for the new settings to reflect.
  • You can export an encrypted attribute in reports only if you have admin access. The attribute is exported in its encrypted format. Decrypted data cannot be exported from the MoEngage dashboard.

Encrypt the User Attributes 

Perform the following steps to encrypt user attributes:
encrypt_user attributes.gif

  1. On the left navigation menu of the MoEngage dashboard, click Settings > Data management.
  2. On the Data management page, click the User attributes tab.
  3. Search for the desired user attribute and click the ellipsis icon against that attribute.
  4. Click Edit attribute.
  5. On the Edit attribute details side drawer, turn on the Encrypt attribute toggle. This toggle automatically enables the Mask attribute toggle, which means that when you encrypt a user attribute, MoEngage automatically masks that attribute as well.
  6. Click Save and Continue

Encrypt the Event Attributes

event attribute_encrypt.gif

  1. On the left navigation menu of the MoEngage dashboard, click Settings > Data management.
  2. On the Data management page, click the Event attributes tab.
  3. Search for the desired event attribute and click the ellipsis icon against that attribute.
  4. Click Edit attribute.
  5. On the Edit attribute details side drawer, turn on the Encrypt attribute toggle. Turning on this toggle automatically enables the Mask attribute toggle, which means that when you encrypt a user attribute, MoEngage automatically masks that attribute as well.
  6. Click Save and Continue

View Encrypted User and Event Attributes

After you encrypt user or event attributes, users in your workspace can view them on the following pages, tabs, and dialog boxes of the MoEngage UI, depending on their assigned roles and permissions. If they have the permission to view these attributes, they can see the encrypted values of the attributes. Otherwise, these appear as Private and --- (masked).

User Search Box

You can view encrypted user or event attributes on the Create Segment page. Search for a user in the Search user by ID, Email, Mobile No, or MoEngage ID search box.

Accessibility to encrypted attributes depends on your assigned role. If you have the permission to view these attributes, you can see the encrypted values of the attributes. Otherwise, these appear as Private or --- (masked).

UserPopup.png

User Profile Page

You can view the encrypted attributes on the User info and Activity info tabs of the User Profile page.

User Info Tab

Perform the following steps to view the encrypted attributes on the User Info tab:

  1. Click Show count while creating a segment on the Create Segment page, and expand the Query results.
  2. On the Sample users section, select the desired user to view their user profile.
  3. On the User Profile, click the User info tab, and then click User Properties.

You can also access the User info tab using the Search user by ID, Email, Mobile No, or MoEngage ID search box on the Create Segment page. Search for the user in the search box and click the name of the desired user, go to the User info tab, and then click User Properties.
Accessibility to the encrypted attribute depends on your assigned role. If you have the permission to view these attributes, you can see the encrypted values of the attributes. Otherwise, these appear as Private.

UserProfile_PIIEncryption.png

Activity Info Tab

Perform the following steps to view the encrypted attributes on the Activity Info tab:

  1. Click Show count while creating a segment on the Create Segment page, and expand the Query results.
  2. On the Sample users section, select the desired user to view their user profile.
  3. On the User Profile, click the Activity info tab.

You can also access the Activity info tab using the Search user by ID, Email, Mobile No, or MoEngage ID search box on the Create Segment page. Search for the user in the search box, click the name of the desired user, and then go to the Activity info tab.

Accessibility to encrypted attributes depends on your assigned role. If you have the permission to view these attributes, you can see the encrypted values of the attributes. Otherwise, these appear as Private.

PIi_Data_Encryption_ActivityInfo.png

Recent Events

You can view the recent events of test users and their masked PII by navigating to Test & Debug > Test users from the left navigation menu of the MoEngage UI. Accessibility to encrypted attributes depends on your assigned role. If you have the permission to view these attributes, you can see the encrypted values of the attributes. Otherwise, these appear as Private.

RecentEvents.png

Test Users

You can view the list of test users and their masked PII by navigating to Test & Debug > Test users from the left navigation menu of the MoEngage UI. Accessibility to encrypted attributes depends on your assigned role. If you have the permission to view these attributes, you can see the encrypted values of the attributes. Otherwise, these appear as Private and --- (masked).

TestUser.png

Value Suggestions

Visibility of encrypted value suggestions on the Segmentation and Analytics page depends on your role. For roles lacking encryption access, these suggestions are disabled. However, roles with encryption permissions can see the encrypted values behind the encrypted suggestions.

Segmentation Filters

Create Segment

When creating segments, MoEngage supports filtering PII encrypted attributes using only two operators: exists and does not exist.

SegmentationFilters.png

Create Campaign

When creating campaigns, MoEngage supports filtering PII encrypted attributes using only two operators: exists and does not exist.

SegmentationFilters_CampaignScreens.png

Supported Channels

Channel Name Support for Sending (decrypting encrypted Sender ID before sending) Support for Personalization Preview (in encrypted format) Support for Personalization (when an encrypted User Attributes is used in personalization)
Email Yes Yes Yes
Push Not applicable Yes Yes
SMS Yes Yes Yes
WhatsApp Yes Yes Yes
Facebook Audience Not built Not applicable Not applicable
Google Ads Not built Not applicable Not applicable
Connectors Not applicable Not applicable Yes
In-app Messaging  Not applicable Yes Yes
On-site Messaging Not applicable Not applicable Yes
Cards Not applicable Not applicable Yes

Non-Dashboard Functionality

PII-encrypted data is available for Open Analytics, S3 Exports, and MoEngage Streams, and data is not decrypted before use/export. These features are not available by default, require manual enablement, and will be enabled on request. You can provide your team access to these features per your security and data needs.

List of Attributes Not Supported for Encryption

User Attributes 

  • Reachability Push Android (moe_rsp_android)
  • Reachability Push iOS (moe_rsp_ios)
  • Reachability Push Web (moe_rsp_web)
  • Reachability Push (moe_rsu)
  • Spam
  • Unsubscribe
  • Push Preference Changed iOS
  • SMS Subscription Status
  • Install Status
  • Push Opt In Status (iOS)
  • MoEngage ID
  • moe_dtzo - User Time Zone offset
  • All of Lifecycle category attributes
  • All of Uninstall category attributes

Event Attributes

  • source
  • appVersion
  • SDKversion
  • Platform
  • Parent Campaign Id (moe_c_pid)
  • Parent Flow Id (moe_f_pid)
  • Parent Flow Name (moe_f_pname)
  • Campaign Content Type (moe_campaign_content_type)
  • Locale Id (moe_locale_id)
  • Locale Name (moe_locale_name)
  • Variation Key (moe_variation_id)
  • Campaign Tags (moe_campaign_tags)
  • BTS (moe_bts_type)
  • Control Group (moe_control_group_type)
  • Readable Campaign Id (moe_campaign_id)
  • Campaign Name (moe_campaign_name)
  • Campaign Type (moe_campaign_type)
  • Delivery Type (moe_delivery_type)

FAQs

arrow_drop_down How is PII Encryption different from PII Masking?

PII masking simply masks the values on the MoEngage dashboard UI and does not encrypt the values during storage.

arrow_drop_down Can I mask an attribute but not encrypt it?

Yes. For more information, refer to PII Masking.

Was this article helpful?
1 out of 2 found this helpful

How can we improve this article?