In order to track analytics data to the correct database please check the following:
- check whether the "collection" connection string is pointed to the right ShardMapManager database;
check whether the "collection" connection string is pointed to the right
ShardMapManager
database; - check whether xconnect connection strings on CD instances are pointed to the correct xConnect;
check whether xConnect connection strings on CD instances are pointed to the correct xConnect;
- check whether the correct server name and database name is set in the following tables:
check whether the correct server name and database name is set in the following tables:
[_Xdb.Collection.ShardMapManager].[__ShardManagement].[ShardsGlobal] [_Xdb.Collection.Shard0].[__ShardManagement].[ShardsLocal] [_Xdb.Collection.Shard1].[__ShardManagement].[ShardsLocal]
[_Xdb.Collection.ShardMapManager].[__ShardManagement].[ShardsGlobal] [_Xdb.Collection.Shard0].[__ShardManagement].[ShardsLocal] [_Xdb.Collection.Shard1].[__ShardManagement].[ShardsLocal]
If everything is set correctly please try to restart CD and xConnect instances and check whether the issue is reproducible afterwards.
The absence of data in the Experience Profile could be due to the following reasons:
- There are no identified contacts in Shards. By default indexing of anonymous contacts is disabled. In order to enable it please refer to the following article: https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-platform/enable-indexing-of-anonymous-contacts-in-the-xdb-index.html
- In case there are identified contacts in Shards and you do not want to enable indexing of anonymous contacts in order to see data in Exp Profile please perform the rebuild of the xdb index: https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-platform/rebuild-the-xdb-index-in-solr.html
Please be sure that "IndexPIISensitiveData"IndexPIISensitiveData
setting in the "sc.Xdb.Collection.IndexerSettings.xml"sc.Xdb.Collection.IndexerSettings.xml
file is "true"true
in the "xdbsearch"xdbsearch
and in the "xdbsearchworker"xdbsearchworker
instances.
Please run rebuild on your "xdbsearchworker"xdbsearchworker
instance using .\Sitecore.XConnectSearchIndexer.exe -rr.\Sitecore.XConnectSearchIndexer.exe -rr
command.