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.

89 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
848 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
400 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 ...
6
votes
0answers
68 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:...
5
votes
0answers
728 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
0answers
196 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
579 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
288 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
101 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 ...
3
votes
1answer
96 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
1answer
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 { ...
3
votes
0answers
94 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
372 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
151 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 ...
2
votes
0answers
25 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 ...
2
votes
1answer
269 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
39 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
81 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
172 views

What does this Experience Profile error mean?

I have a Sitecore 9.1.1 distributed instance. I am seeing this in the CMS site log files a lot. Not sure at all what it means. 10360 15:50:06 ERROR [Sitecore Services]: HTTP POST URL https://...
2
votes
2answers
299 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
55 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
138 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
108 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
29 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
123 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
3k 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
55 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
206 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
35 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
597 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
440 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
0answers
57 views

How to add Interaction to the xdb contacts using xconnect provider of Data Exchange framework?

I have the requirement of add interactions to the xdb contacts. For that, I am using xconnect Provider. So how can I add Interactions by using the data exchange framework xconnect provider?
1
vote
0answers
34 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
0answers
45 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
40 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
66 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
54 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
1answer
403 views

Sitecore 9 Operation failed: One or more dependencies failed

I am using Sitecore 9.0.2. I am using Update Contact details on submit button in forms to update facets in xDB. I am getting below error while I am submitting the form, it was working before. ...
1
vote
0answers
52 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
58 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
66 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. ...
1
vote
0answers
42 views

Multi-site analytics tracking

We have a Sitecore multi-site, multi-server solution, exposed for the moment on the following domains: www.mywebsite.com and lang.mywebsite.com. We expect to add more site nodes in the current ...
1
vote
0answers
164 views

Update Sitecore from 8.2 to 9.1 - analytics

I am entering the update solution Sitecore from version 8.2 to version 9.1. I started by upgrading the .NET version and Sitecore libraries to the latest version. Is there any instruction what should ...
1
vote
0answers
134 views

How to create XConnect service in single instance from Sitecore XP1 Scaled installtion package

we are setting up QA instance and following Sitecore Vertical scaling guide from sitecore doc (https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html)....
1
vote
0answers
148 views

Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage throws exception

We are using Sitecore 9.0.2 in PAAS and in specific environment we are getting error on OOB tracking field on all the pages We don't have Sitecore XDb in scope and XDb is not enabled. [...
1
vote
0answers
139 views

An error occured while downloading the index 'xdb' schema

Our Production instance is hosted in Azure and getting so many failed requests with the below error. Not sure what could be the reason An error occured while downloading the index 'xdb' schema. ...
1
vote
0answers
217 views

rebuild the xDB index in Azure Search didn't finished

I followed this article to rebuild the xDB index in Azure Search. About 2 hours after the rebuild index process started, i noticed that the rebuild process seemed to stopped (document of xdb-...
1
vote
0answers
256 views

Can't create contact list

I couldn't create contacts list and getting following exception, HTTP POST URL http://x/sitecore/api/ssc/ListManagement/ContactList Exception Sitecore.XConnect.XdbSearchUnavailableException: The ...
1
vote
0answers
73 views

Dependency between Federated Authentication and XDB

We are looking into implementing XDB for a solution which was recently upgraded to Sitecore 9.0.1 from Sitecore 8.2.2, and has a custom SSO login functionality already implemented, for user ...
1
vote
0answers
603 views

Enable Sitecore.Analytics.Tracking.Database.config on CM?

We need to regularly run a custom task to sync contacts in xDB from an external contacts list. It appears that we should use Sitecore's Analytics API to do this, and we think the task should run on ...