User matching connects Mapp Intelligence with the Mapp Engage SDK so that the Engage dmcUserId can also be used in Intelligence. This helps align data across both products.
Important
User matching does not work while anonymous tracking is enabled.
Requirements
Mapp Intelligence Android SDK v5.1.5 or later
Mapp Engage Android SDK
com.mapp.sdk:mapp-android:6.1.3or laterAnonymous tracking must be disabled
Configuration options
Method | Description |
|---|---|
| Enables user matching during SDK initialization. |
| Enables or disables user matching at runtime. |
| Returns the current Engage user ID when user matching is enabled. Otherwise the SDK returns |
Enable during initialization
val configuration = WebtrekkConfiguration.Builder(trackIds, trackDomain)
.setUserMatchingEnabled(true)
.build()Change at runtime
Webtrekk.getInstance().setUserMatchingEnabled(true)
val dmcUserId = Webtrekk.getInstance().getDmcUserId()Things to keep in mind
User matching depends on the Mapp Engage SDK providing a
dmcUserId.If user matching is disabled,
getDmcUserId()returnsnull.If anonymous tracking is enabled, user matching is effectively unavailable.
Related pages: Anonymous Tracking, Retrieve Active Global Configuration.