Questions tagged [xdb]

For questions related to the Sitecore Experience Database (xDB). If you're using Sitecore 7.2 or earlier, use the `dms` tag instead.

94 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
1k views

Sitecore 9 Separate CD server - ERROR Cannot start analytics Tracker

I Installed Sitecore 9 XP1 with Separate CD and CM servers. I am getting the below error in CD: Unexpected character encountered while parsing value: <. Path '', line 0, position 0 31260 12:55:...
7
votes
0answers
902 views

Sitecore 8.1 and xDB, Experience Analytics Tables Empty, Showing Errors

I'm running Sitecore 8.1 Update 1 and am trying to get the basic built in Experience Analytics working. However I am getting an error on all the graphs such as The ...
7
votes
0answers
440 views

Custom PageEvent processed, visible in xDB; yet not showing up in reports after rebuilding database

I have done the following: I created a new Dimension and Segment; I created a class inheriting from PageEventDimensionBase: public class ByProfilesEdited : PageEventDimensionBase { public ...
5
votes
0answers
825 views

Sitecore Analytics Exceptions with mongoDB Failure

Overview During a disaster recovery test of our environment we make mongoDB unavailable to Sitecore with the expectation that Sitecore will continue to function normally due to the Configuration ...
5
votes
2answers
2k views

Getting Error while creating contact through xConnect in Sitecore9

I am getting an exception/error while I am creating contact though xConnect Code, below is my code: using (var client = CreateClient()) { try { ...
5
votes
0answers
208 views

Sitecore 8.2 using analytics data in code

I have followed the answer here But I get a null reference exception if I do not create an instance of the ReportDataProvider. And when I do create an instance I am getting an error in the ...
5
votes
0answers
646 views

Rebuild reporting database. Exception Message: String or binary data would be truncated

Sitecore 8.0 update 5 I've set up clean sitecore.analytics and sitecore.analytics_secondary databases. Also I've deployed the Marketing Definitions and ran necessary SQL script to copy data from old ...
4
votes
0answers
145 views

xDB not tracking Custom Facet

Version: Sitecore 9.2 I have followed these tutorials: - https://himmatsinghdulawat.blogspot.com/2019/06/create-custom-facet-model-in-sitecore-9.html - How to properly configure a custom facet in ...
4
votes
0answers
303 views

Sitecore Analytics Channel Detection

Sitecore has a bunch of Channels defined in /sitecore/system/Marketing Control Panel/Taxonomies/Channel.The config Sitecore.Analytics.Channel specify the different channels that are assigned for ...
3
votes
0answers
40 views

Update Sitecore Contact Programmatically :For Users on a Shared Computer

I am using Sitecore API to identify and update the contact with a Member ID value Post login. But the below code seems to update the interaction to the same contact i.e. If two people are logging in ...
3
votes
0answers
91 views

Shared Session Manager object in analytics always giving Contact value null

I am fetching contact on the basis of "SC_ANALYTICS_GLOBAL_COOKIE". When I am creating Shared session manager client object and trying to fetch contact it's giving me null value every time. Scenario:...
3
votes
1answer
142 views

Check personalization views on a component without AB tests

What should be done in order for one to check how many views a personalized view of a component has x the default version of that same component? This component is on a homepage of a website and ...
3
votes
0answers
103 views

Get List of all user journey

I want to create a report where I want to get the list of all user identified, pages views count, all the pages views by user and timestamp. Please suggest the best way to track user journey.
3
votes
0answers
374 views

How to get an xDB contact from Shared Session when I only know the identifier?

I have a Sitecore 8.1-3 instance. In my custom code I am trying to write a single method that will get me a Contact instance when all I know is the identifier (email address in this system). This ...
3
votes
0answers
153 views

Difference between IIS requests and interactions in MongoDB

During log-file investigation I've found a big difference between the IIS-log and the interactions collection in MongoDB. I've started to log the SC_ANALYTICS_GLOBAL_COOKIE within IIS and extract ...
3
votes
2answers
217 views

Sitecore 10.1 xConnect collection database multi-region scaling read-only performance

I have a multi-region Sitecore deployment with CDs in the US and the UK using Sitecore 8.2 with MongoDb as the xDb, like this: UK US CD1 ...
2
votes
0answers
38 views

Rebuild Sitecore Analytics Index without affecting the Sitecore Experience Platform

I am using Sitecore 8.2 with MongoDb as a Sitecore xDB. In our application, Sitecore Custom Contact Facets being used and data for these custom facets already present in MongoDB. Now I wanted to ...
2
votes
1answer
54 views

LeaseOwner and LockAttempt does it work in Sitecore 9.3 Analytics

I am working on Sitecore Analytics Contact code Upgrade from Sitecore 8.2 to 9.3 After upgrading latest dlls and adding XConnect assemblies, I am getting issue in some scenario LockAttemptResult is ...
2
votes
1answer
36 views

How to add new properties to ICampaignActivityDefinition interface and deploy it in Sitecore 10

We are upgrading the Sitecore version from 8.2 to 10 and we have a few customizations in our projects related to campaign creation. In Sitecore 8.2 we use to have the SaveCampaign class present in the ...
2
votes
1answer
549 views

Use Sitecore Analytics to show most viewed pages

I have a requirement to track the most viewed pages in last month in our Sitecore 9.0.1. I have followed the answer here https://theroks.com/use-sitecore-analytics-show-number-pageviews/ and tried to ...
2
votes
0answers
47 views

Reset data for a pattern card

I have an issue where a content author incorrectly tagged a lot of content with a specific pattern card. Now we need to reset anyone's profile who has that pattern card assigned. Does anyone know of ...
2
votes
0answers
117 views

Unable to get xDB reports using Sitecore Powershell

I am trying to get the Page URL visits which we get from Experience Analytics dashboard using Powershell. Below screenshot specifies the data i am trying to access using Powershell. I found a link ...
2
votes
2answers
595 views

GeoIP Location data not coming in database and interaction object?

I am trying to implement geo-location-based personalization for my website and for this, I would like to test the data locally. I have enabled geolocation services from app-center and tested with the ...
2
votes
0answers
73 views

Get content based on browsing history in analytics

I have a scenario where a client wants to build a list of articles based on the user's browsing history stored in analytics. So performing a search, but with criteria based on "because you viewed X, Y,...
2
votes
0answers
246 views

Personalization Rules are not working as intended

i've a Sitecore 9.1.1 website on a Windows server2016 with IIS 10. I've enabled the xDb features but the "Personalize" button in the rendering details section is not available. I've seen that the ...
2
votes
0answers
137 views

Why is Path Analyzer not showing the same number of visits as Experience Analytics?

When I look at general site statistics in the Experience Analytics they seem to broadly match what our Google Analytics account tells us. But when I look in path analyzer, it seems to show far fewer ...
2
votes
0answers
32 views

Analytics tag not persisting between sessions

I'm using Sitecore 9.0.2 and I'm attempting to use tags in Sitecore analytics to track if a particular modal has been closed, so it doesn't reappear. This is working within a session, but when the ...
2
votes
1answer
162 views

Capturing the close of a modal as an xDB event

I'm working on a scenario where I have a modal on a page, and if/when the user dismisses it, I want to make it such that the modal doesn't come back up for the user. The ideal scenario is to have this ...
2
votes
0answers
4k views

ERROR xDB unavailable when submitting contact - certificates?

I have problem with my Sitecore 9.0.1 XP1 installation. The environment is Azure VMs with Azure SQL and is following: 2x CM VMs 2x CD VMs 1x xConnect + Sitecore Processing VM 1x Sitecore Reporting VM ...
2
votes
0answers
63 views

Cleanup Sitecore Assets Download Data

I need to remove all the old Sitecore Analytics data related to Assets/Downloads. I only need to remove these Assets related data from contacts/reports since there were some incorrect configuration ...
2
votes
0answers
229 views

Get contact from xDB without identifier

I need to retrieve a contact from xDB, but I don't have that contact's identifier. Normally I would do it like this: ContactRepository contactRepo = Sitecore.Configuration.Factory.CreateObject("...
2
votes
0answers
36 views

Contact session transfer on failover

I've been reading about contact session transfering on sc 8.2 and 9.0.1 and I'm wondering of what's the expected behaviour when Sitecore tries to transfer a session between clusters and one doesn't ...
2
votes
0answers
614 views

Why are contacts not showing up in analytics index after rebuilding reporting database?

I have a Sitecore 8.1-3 instance using Solr 4.10. I just finished rebuilding the reporting database following the Sitecore instructions. I am noticing that there are contacts that I know are in ...
2
votes
0answers
451 views

Sitecore Commerce CM Server MongoDB.Driver.MongoDuplicateKeyException

We are setting up Sitecore Commerce with Sitecore 8.1 using a CM + CD Server on Azure and experiencing the below error in our logs For some reason on the CM server we are receiving the following ...
1
vote
1answer
77 views

Rebuild the xDB index in Solr - error mongo

I have problem with rebuilding xDB index in solr. I changed IndexPIISensitiveData to true in job SerachIndexer and after executing the command \XConnectSearchIndexer.exe -rr there is no sensitive data ...
1
vote
0answers
121 views

No contacts tracking in XConnect, anonymous or know, on standalone XP 9.2

I have a standalone Sitecore XP 9.2 instance running (on prem) that has no contacts tracking in XConnect, anonymous or known. I've checked off all the normal culprits I can think of but they all seem ...
1
vote
1answer
98 views

error when builds a client configuration object for connecting to xConnect

I'm getting below error in this code: var cfg = new XConnectClientConfiguration( new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient); in below ...
1
vote
0answers
45 views

Extend Sitecore xConnect web API

My requirement is to add more custom data in the xConnect web API response. For example, when I hit https://xConnect-domain/odata/Contacts then it gives me the default JSON for the contacts only, like ...
1
vote
1answer
294 views

XDB Disabled - Still getting tracking error in the logs

I have xdb disabled: xdb.Enabled = false xdb.Tracking.Enabled = false Im still getting xdb related errors in the logs. Should this all be disabled (Sitecore 9.3): 7932 11:45:08 ERROR One or more ...
1
vote
0answers
151 views

Any insight on how to fix "XConnect Exception Filter OnException" errors?

Our instance has been pretty stable until recently we started receiving the following errors in XConnect. Main log [Error] XConnect Exception Filter OnException(), url - "https://site.com/odata/...
1
vote
0answers
30 views

Explore mode GeoIP data not available

In Sitecore Experience Editor Explore view I am facing one issue in which I am not getting any country list in GeoIP section under Visitor information. Below is the screenshot of my page. Please ...
1
vote
0answers
89 views

SQL query against all xDB Shard databases

I am looking for a way on T-SQL to be able to query all the shards at same time. It looks like Sitecore is using a ShardManager that is used on code, which makes sense for them. But I used SQL a lot ...
1
vote
0answers
35 views

Actual IP Address not showing in Mongo DB Interaction table though Analytics.RedactIpAddress is set to true

I know that by default IP address is hashed in Mongo DB interaction table(Sitecore 8.1 Update 2). But recently I set the value Analytics.RedactIpAddress to true which is by default false, so that ...
1
vote
0answers
36 views

Rebulding Database not showing previous analytics after upgrade

I have upgraded from Sitecore 9 to 9.2 recently. Looking into the database I see all interactions being written to xDB. But from the date of upgrade, the UI has not been updated on Experience ...
1
vote
0answers
51 views

Slow Sitecore platform due to lot of data in Mongo DB

We observed very bad performance of Sitecore Digital Platform. Applications like List manager, indexing are very very slow. Contact data and corresponding properties within contact are getting ...
1
vote
0answers
100 views

Weird experience with Analytics with Sitecore 9.0.1 on Azure PaaS

We are having a weird experience with Analytics with Sitecore 9.0.1 on Azure PaaS. Looks like the data is being processed on a single date hence we are seeing more than 20K visits on Nov-21. Whereas ...
1
vote
0answers
111 views

XConnect custom predicate: XdbSearchUnavailableException after call is being made

I'm trying to create a custom predicate to search a particular profile in a contact's profile using Sitecore 9.0.1. Here's the code: public class ContactProfilMatches : ICondition, ...
1
vote
0answers
94 views

Sitecore XDb aggregation Exception

We are using Sitecore 8.2.7 and developing XDB capabalties with Cosmos(we are fully aware that Cosmos is not officaly supported) so far we are able to see analytics data in Cosmos but we are able to ...
1
vote
0answers
62 views

Unable to sync Salesforce campaigns to xConnect

I'm trying to sync the Salesforce campaigns to xConnect using the Sitecore's predefined pipeline batch (Salesforce Campaigns to xConnect Sync). From the logs, I find that the data is successfully ...
1
vote
0answers
102 views

Personalization not working (Pattern Card & profile Card)

Using Sitecore .NET 8.1 (rev. 151003). Created ABC pattern card & assign specific placeholder of page. Used rule: where the current contact matches the ABC pattern card in the ABCD profile. ...