Enable Indexing for Anonymous Contacts on Sitecore 9 Xconnect

Hello Techies,

By default indexing for the anonymous contacts are disabled by the Sitecore. So when you are checking the Experience Profile you can only see the empty list like below.

Empty contacts

How to Enable it ?

We have to do the following changes on Xconnect website.

  1. Go to the following files
  • App_data\Config\sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml
  • \App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml

2. Then change the following tag in to true

<IndexAnonymousContactData>true</IndexAnonymousContactData>

3. We need to rebuild the xDB. Go to the “.xconnect\Website\App_data\jobs\continuous\IndexWorker” and open the console window in administrator mode and run the command XConnectSearchIndexer -rr

rebuild xDB

Note:

Your XConnectSearchIndexer windows service should be running. If its not started , please restart the service .

Xconnect service

Now you can see the anonymous contacts in experience profile.

 

Experience Profile

Thank you for visiting my blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s