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.

Filter by
Sorted by
Tagged with
23
votes
2answers
3k views

Is it possible to use any personalisation rules without xDB

Is it possible to make use of any of the component personalisation rules without xDB being enabled? e.g. to swap/hide a component depending on the current date? I'm not interested in tracking the ...
14
votes
3answers
15k views

Analytics "Tracker.Current is not initialized"

I set up my analytics tracker code as someone noted to me in another question, but when I went through my site and did a login, then some stuff, then logged out (causing a session abandon), the ...
16
votes
2answers
4k views

Disable xDB tracking for single requests

I am using our own Sitecore Error Manager in a Sitecore 8.2 project. If an item is not found or an error occurs, our error page is called within the current client request. This error handler calls a ...
22
votes
4answers
6k views

How can I disable xDB?

If I don't have a working connection to MongoDB and I don't want to use xDB functionality. Currently, my logs are being filled with errors. What is the configuration needed to disable xDB?
21
votes
3answers
767 views

Engagement Plans: Why is a user not added to an engagement plan until the session of a user is timed out?

In short my question is: Why is a user not added to an engagement plan until the session of a user is timed out? My setup: I am running Sitecore 8.1.3 and I have created a simple engagement plan, ...
5
votes
4answers
1k views

No contact created in MongoDB when session is closed

8.2 update 0. I have changed session to be 1 minute instead of the default 20 minutes. When I log into the site, in incognito, surf around and close the browser. No contact is ever created in the ...
14
votes
3answers
3k views

How to rebuild the analytics index without rebuilding the entire reporting database?

In Sitecore 8.1.3, is it possible to rebuild the analytics index without rebuilding the entire reporting database as specified in doc.sitecore.net? I have an analytics index that is more or less ...
13
votes
2answers
2k views

Sorting Pages by most views

I have a requirement in our 8.1 update 2 solution to provide a sorting mechanism for pages based on the number of views. This data lives in the analytics database and I'm looking for a way to retrieve ...
11
votes
2answers
3k views

How to create or update list of contacts in xdb?

What I am trying to do is: get or create a contact in xDB by identifier update its facets save the contact to xdb (not to session) I am running Sitecore 8.2 and I am using this extended contact ...
12
votes
4answers
458 views

Can I create "Other customers also bought..." recommendations using Sitecore xDB?

I've been trying to figure out, whether or not I can use Sitecore's xDB related functionalities to create a "other customers also bought" recommendation system. The use case would be something like ...
9
votes
2answers
2k views

Clean Analytics in Sitecore 9

Is there a way to remove Analytics data in Sitecore 9? Similar question for Sitecore 8 which talked about the use of __DeleteAllReportingData and deletion of Mongodbs or the use of ...
15
votes
3answers
9k views

ERROR: Cannot create tracker (Message:session is not initialized) Sitecore 8.1 update 2

I am getting below error in logs and none of the interaction data is collected in mongoDB also. Verified with Post looks everything Ok in my solution. ERROR Cannot create tracker. Exception: ...
14
votes
2answers
3k views

Analytics Dashboard has a 10 day delay and updates only gradually

Our production environment has a pretty much standard analytics configuration. MongoDb gets filled up as expected and collected data is up to date. But the Analytics dashboard in Sitecore is not up ...
12
votes
2answers
1k views

How can I create a custom report in Experience Analytics?

I'm pretty new at Sitecore, so I don't know if this is possible. I am able to log some custom page events (click on an anchor on the client side) in xDB. I can then query this with Robomongo. But ...
5
votes
2answers
2k views

How to delete a Contact programmatically in xDB

Does anyone know how delete/remove a xDB Contact programmatically in Sitecore (8.1+), which also ensures a correct (re)-indexing? Or, is there another strategy? Such as scrambling the identifier? - ...
8
votes
1answer
527 views

WFFM Analytics - is it possible to report on dropouts by field?

I know that WFFM captures form dropout data to some extent and there's a Dropouts count in the out-of-the-box Form reports. Is it possible to use the data that's already captured to report on dropouts ...
4
votes
1answer
604 views

No user inside "Experience Profile" in Sitecore 9

In Development environment , While clicking on XProfile icon , there is no user inside "Experience Profile", I am browsing website locally with loggedin/non- loggedin user but Still no record are ...
4
votes
2answers
997 views

Can we use xDB contact to do a Lookup for users

Can we use first name in the xDB contact facet and make a search from the UI using an api. I dont want to fetch all the users and do a for loop and then search for the user name like in each iteration....
4
votes
3answers
3k views

Experience Profile not showing all Contacts

I am running a JMeter test to create 10 different contacts in xDB. I can see them in xDB but when I come to Experience Profile dashboard I can see only 3 known records from JMeter and rest are all '...
3
votes
2answers
5k views

Troubleshooting "Could not create SSL/TLS secure channel" error in XConnect on Sitecore 9.1

I have a freshly-created Sitecore 9.1 instance. After setting up the xDB Migration Tool, I get the following error message when running the Troubleshooter: ERROR [Data Exchange] at Sitecore.Xdb....
2
votes
2answers
1k views

How can I find out Triggered Goal on Sitecore Item

I have created a Goal, deployed and published it. After that, I have applied the goal on the Sitecore Media Item. I am working with Sitecore 9 update 2. For More reference: https://urbansitecore.blog/...
1
vote
3answers
2k views

Sitecore 9 Processing Server - Exception when executing agent pathAnalyzer/mapRebuildStatusCheckerAgent

I am getting below error in Processing role. Our version is sitecore 9.0.2. Anyone faced similar issues? Exception: System.AggregateException Message: One or more errors occurred. Source: mscorlib ...
10
votes
1answer
469 views

Making Sitecore ignore the call to an API, while manually adding a page to the tracker

Sitecore 8.2 U4 I am working on tracking the movement of the user through my registration form. As they move from section to section, I am going to add a page to their tracker so I can see that ...
9
votes
2answers
403 views

Any Guidelines to choose between SQL or Mongo for xDB on Sitecore 9?

Want to check if we have any guidelines (metrics) helpful to decide either Mongo or SQL will be good fit while Upgrading to Sitecore 9, especially if the current version in below 7.5 (No Mongo). ...
8
votes
2answers
4k views

Cannot finish Analytics page tracking

I have the following exception appearing in my log files at a rate of 2-3 per second. ERROR Cannot finish Analytics page tracking Exception: Sitecore.Analytics.Exceptions.ContactLockException ...
7
votes
1answer
1k views

Contact locking options

I am trying to update the contact facet properties using next code (trimmed example)... var contactManager = Factory.CreateObject("tracking/contactManager", true) as ContactManager; Contact contact =...
7
votes
1answer
244 views

What is the Identifier Source of a Contact After Upgrading to 9 / xConnect?

In Sitecore 8.x, when a contact is identified, it's done so just on a single string like an email address or username. In Sitecore 9.x (more specifically xConnect) when a contact is identified, there ...
6
votes
2answers
1k views

Can we feed external data to xDB?

For example Google Analytics, Adobe Analytics or any other data to make a consolidated data report from Sitecore xDB. If it is feasible, is there any guide on how to feed in data in real time or ...
4
votes
1answer
670 views

How to get engagement value or persona

Scenario I am working on this requirement - A visitor on the website will be assigned points for their activities on the website like views, likes, shares etc. Based on those points, they will be ...
50
votes
3answers
5k views

Sitecore, personal data and General Data Protection Regulation (GDPR)

Across Europe new privacy legislation has been introduced; GDPR. In a nutshell it says that the following are the responsibility of not only the customer but also the supplier: Seeking consent from ...
10
votes
1answer
3k views

Analytics.ClusterName in a multi-site scaled environment

We have a multi-site scaled environment, with dedicated roles for CM, PRC, REP and CD, based on the XP1 Azure templates. Behind the load balancer, we have 2 CD instances. According to the ...
18
votes
2answers
2k views

Can I register an event or goal through an API from Javascript?

I have found that I can assign a goal or a page event to get triggered when a user hits a given page. So, we have a thank you page a user is redirected to after submitting a form and that ...
11
votes
1answer
441 views

Excluding IPs from analytics, but keeping personalization.

I want to exclude some groups of internal users from analytics, but keep the website personalized for them (and gather data for future personalization). I tried 2 approaches and none of them worked: ...
3
votes
2answers
1k views

No known predicate type could be determined from Sitecore.Analytics.OmniChannel Error while creating a Goal item

I'm using Sitecore 9.0.1 and I also confirmed that all analytics are working. However, after creating new Goal item and rendering some live pages to gather analytics data, it shows this error. I ...
10
votes
1answer
1k views

Display custom facets in Sitecore Experience Profile version 9 or later

I am creating custom facet for saving contact information (Like Car Model, Variant, Color, etc) into XDB. I am successfully able to save and retrieve custom facets details with respective Contact. Now ...
6
votes
1answer
2k views

How to view triggered goals

The instance name is mysite.org and I have used the Facebook share button. The site is not a public URL yet. The goal points to the related goal is set to 10. Here are the issues: In preview mode, ...
2
votes
1answer
385 views

How do you properly query xdb for a contact by email?

I am trying to search an email in Sitecore Xdb using the code : var queryable = client.Contacts .Where(c => c.GetFacet<EmailAddressList>(EmailAddressList....
17
votes
2answers
740 views

What are options for archiving xDB data?

I've ran into a number of different scenarios lately around xDB and data retention and archiving. What is the best practice for archiving data in xDB in general? For example, is there a best practice ...
17
votes
4answers
1k views

What does a profile's Decay Rate actually do?

Profiles have a Decay rate field. The Sitecore documentation explains it as: ...you can control how long an individual profile or pattern card is relevant to the Contact Behavior Profile by ...
12
votes
2answers
935 views

Goals not being retrieved from Sitecore xDB ( MongoDB )

I upgraded my site from Sitecore 7.5 to 8.1, and following is the code that I'm using to retrieve the page events: foreach (PageData page in args.Context.Visit.Pages) { if (page.PageEvents != ...
10
votes
5answers
843 views

Sizing MongoDB Servers for xDB

Is there guidance on sizing the Mongo DB servers when running xDB on premises? I've found some guidance on sizing MongoDB for session state (link) but can't find anything on the analytics side. To be ...
9
votes
2answers
1k views

Programmatically Trigger a Pattern Card/Profile Card in a selected content in Sitecore

I have a task wherein I need to create a functionality that may need to trigger a pattern card programmatically if a specific radio button (where an item is assigned to this with a profile card) is ...
7
votes
1answer
797 views

Why Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection.ShardMapManager databases in Sitecore 9 are not Partially Contained?

I am wondering what are the reasons or maybe technical limitations all of Sitecore 9 databases to be Partially Contained except Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection....
7
votes
3answers
3k views

Profile data is not saving in Experience Profile

I am trying to save the data to the Experience Profile when the user submits the form, but the data is not getting displayed in the dashboard. Below is my code for storing data: public void ...
4
votes
1answer
146 views

Does personalization require a specific license?

I'm looking at the list of licenses and wondering if there is one specific license that enables personalization. If so, which license should I be looking for? Using Sitecore.NET 8.0 (rev. 151127)
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
2answers
687 views

Sitecore Analytics Location has no data

I populated sample analytics data via jMeter in testing environment. I could see all sample data reports through Sitecore Analytics dashboard, but the Location data(graph) shows empty. Even I ...
2
votes
1answer
163 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 ...
9
votes
1answer
292 views

xDB lockedResult object has an empty identifier

I am having this weird issue with lockResult.object carrying null/empty value for the "identifier" property. Though the lockedResult returns with "success" status and the contact has the identifier ...
7
votes
1answer
1k views

Sitecore 9 xDB Support for MongoDB

We are working on migrating our Sitecore instances to Sitecore 9 and we are using xDB for analytics. We read new version of Sitecore does not support MongoDB. Can we still use xDB and analytics?