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.

71 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
800 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
372 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
55 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
780 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:...
5
votes
0answers
570 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
176 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
493 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
245 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
2answers
189 views

What is the proper troubleshooting technique for a “No known predicate type could be determined” error message?

As the question title suggests, I am looking for proper troubleshooting techniques in order to solve an error currently being experienced in a Sitecore 9.0.2 XP1 Topology Processing Role Server. The ...
3
votes
1answer
76 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
91 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
365 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
146 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
1answer
48 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
35 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
51 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
102 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
140 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
45 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
1answer
162 views

Experience Analytics dashboard gives errors

My Logs shows this error 2428 23:47:09 ERROR [Sitecore Services]: HTTP GET URL http://ffg.local/sitecore/api/ao/aggregates/all/786FBA3A4573445EA74504E3CA5E48C1/all?&dateGrouping=by-week&&dateFrom=23-...
2
votes
0answers
60 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
745 views

Sitecore XConnect XdbCollectionUnavailableException - Forbidden

I have installed xConnect for sitecore 9.0.2 using SIF 1.2.1 and configured it according to the documentation. I have also installed the xDB Data Migration Tools and when running the Troubleshooter ...
2
votes
0answers
78 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
28 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
0answers
2k 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
50 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
33 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
1k 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 { ...
2
votes
0answers
573 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
393 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
27 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
118 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
28 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
49 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
57 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
32 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
137 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
104 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
88 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
94 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
160 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
154 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
62 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
479 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 ...
1
vote
0answers
168 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("...
1
vote
0answers
216 views

Tracker.Current.Session.Identify error :The given key was not present in the dictionary

In my Sitecore application, I've created custom facet (it has simple fields and object lists). I identify the user by the method: try { if (Tracker.IsActive) { Tracker.Current....
1
vote
0answers
118 views

Error on Exception: System.Data.SqlClient.SqlException

Exception: System.Data.SqlClient.SqlException Message: T-SQL ERROR 242, SEVERITY 16, STATE 3, PROCEDURE (null), LINE 472, MESSAGE: The conversion of a datetime data type to a smalldatetime data ...
1
vote
0answers
488 views

Sessions DB usage spiking, causing performance problems

I've got a problem with one of my clients' sites (Sitecore 8.0, Azure cloud services (custom deployment model)) and could really use a solution. Here's the story in bullet point form: Deployment of ...
1
vote
0answers
47 views

How to test Suggested Tests? List is empty

I'm doing some testing for our client on my local environment but I can't see any suggested tests. I've inspected the sitecore_suggested_test_index and it contains documents. Anyone has an idea why ...
0
votes
0answers
25 views

MongoDB database lock caused the website to freeze? Does that even make sense?

We had a customer's website (Sitecore 8.2 on Azure) go down last week for about 20 minutes. The site was so locked up that there were no Sitecore log messages. However, there were a bunch of ...