Enabling Anonymous Contacts to be Indexed

I was recently working on a PoC and I was trying to get the information in the Experience Profile. After few hours, I realized that even after browsing pages in different browsers, my contacts weren’t showing up in Experience Profile.

The Sitecore Experience Analytics was showing me the data which meant that the xConnect was working as expected. I started to do some research that if my analytics piece is working as expected i.e. I can see my views in the Analytics dashboard then why am I not seeing the contacts in the Experience Profile.

To my surprise, by default the anonymous users are not indexed in xDB and that piece I missed to enable. So if you want to see the contacts in Experience Profile which are Anonymous then you will need to enable below setting in sc.Xdb.Collection.IndexerSettings.xml file (Path: C:\inetpub\wwwroot\{xConnect Website}\App_Data\jobs\continuous\IndexWorker\App_Data\config\sitecore\SearchIndexer)


Now you will need to rebuild the xDB index, you can do it by following the steps in this blog.

Once you rebuild the xDB index, you should be able to see the Anonymous Contacts in the Experience Profile.

Reference: https://doc.sitecore.com/xp/en/developers/90/sitecore-experience-platform/enable-indexing-of-anonymous-contacts-in-the-xdb-index.html

Hope it helps!

Thank you.. Keep Learning.. Keep Sitecoring.. 🙂

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