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
50
votes
3answers
4k 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 ...
23
votes
2answers
2k views

Is it possible to use any personalisation rules without xDB

Is is 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 ...
21
votes
3answers
5k 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
724 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, ...
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 ...
17
votes
2answers
640 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 ...
16
votes
2answers
3k 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 ...
15
votes
4answers
767 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 ...
15
votes
3answers
6k 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
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 ...
14
votes
3answers
1k views

xDB Cloud Experience Analytics not refreshing

I'm using the xDB Cloud 1.0 setup in Sitecore 8.1. The site is successfully tracking contacts as I can see new profiles under the Experience Profile. However, the aggregate data on Experience ...
14
votes
0answers
704 views

Submit queue is not working [closed]

I was looking for a fallback for Analytics when MongoDB was not available anymore and the "Submit queue" was exactly what I needed on paper. My Issue It seems that the "Sitecore.Analytics....
13
votes
4answers
983 views

Is it possible to exclude some Sitecore Items from analytics tracking?

Is it possible to exclude some Sitecore Items from analytics tracking? We have a few items under sitecore/Content/Sites/MySite/Third Party/ that are consumed by our support site (which does not ...
13
votes
2answers
2k 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 ...
13
votes
3answers
11k 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 ...
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 ...
13
votes
2answers
1k views

How does xDB track individual visits?

With Sitecore 8.x, there is no longer a cookie associated with the individual visit (though of course the visitor cookie, SC_GLOBAL_ANALYTICS_COOKIE is still there). How does xDB track individual ...
13
votes
2answers
1k views

MongoDB historical data and data truncation

We have noticed that our MongoDB's are growing steadily. Which is an obvious result of just capturing all kinds of user interactions. However, we can't have the xDB grow infinitely... I can't seem ...
13
votes
3answers
849 views

Contact (guid) could not be locked in the xDB

I've got a site where I'm invoking Tracker.Current.Session.Identify(), passing in the authenticated user's email address. It works fine locally, but when deployed the identify call often - but not ...
12
votes
4answers
409 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 ...
12
votes
1answer
347 views

How to handle xDB during a Sitecore upgrade?

This may be a vague question or too broad for Stack Exchange, but I will try it anyway. We are doing an upgrade from v7.5 to v8.1-3. We are using a hosted instance of Mongo called ObjectRocket from ...
12
votes
1answer
512 views

Subscribing to EXM Email: How do you manage multiple contacts using the same computer?

We are currently working on a project, where we implemented a registration process using WFFM, EXM and Engagement Plans. We are facing one specific issue, regarding the contact identification with EXM....
12
votes
2answers
672 views

Generating test data for Sitecore Analytics

I need to test Sitecore Analytics. Someone have any idea or tip how can I configure and generate fake data in Sitecore Analytics? Because only one person acessing the pages or campaigns, I cannot see ...
12
votes
1answer
224 views

Gracefully Handle xDB Cloud 2.0 Connectivity Issues - Controlling connection timeout

Similar to the situation described in this post regarding Solr, we recently had an issue in which our connection attempts to the xDB Cloud 2.0 service were adding hundreds of megabytes of 504 errors ...
12
votes
1answer
403 views

How are Profile Patterns calculated during a visit?

For a customer, we are using Profiles and Paterns to segment visitors. In the attached screenshot from the Experience Profile, we see something strange in the data: The sum of the values in the ...
12
votes
2answers
856 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 != ...
11
votes
2answers
2k 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 ...
11
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 ...
11
votes
2answers
601 views

Minimizing and Maximizing Profile Key Values Programmatically

Background: One of our clients has contracted us to create a "siloing" feature on their site, using personalization. Basically, a visitor would come to the site and optionally self-identify as a ...
11
votes
1answer
519 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 ...
11
votes
1answer
315 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: ...
11
votes
1answer
368 views

Sitecore XDB cleanup to limit size

On our current system XDB is grown very large, the interactions DB is around 80% of the total database size, followed by KeyBehaviourCache at 5% then GeoIps and Contacts at 4%. We need to reduce the ...
10
votes
5answers
755 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 ...
10
votes
2answers
575 views

Example of populating list in experience profile page with JSON data

I am setting up a custom tab with custom facet data in the Experience Profile. I am successfully returning text values to the screen. Now, I want to populate data into a list control. Are there any ...
10
votes
2answers
890 views

Tracker.Current is not initialized for RSS page

We're getting a ton of errors from an RSS page on one of the websites when bots hit it to get/parse RSS: Exception: System.InvalidOperationException Message: Tracker.Current is not initialized Source:...
10
votes
1answer
805 views

“Cannot create tracker” exception thrown from ModelFactory

I am facing the following error: ERROR Cannot create tracker. Exception: System.IndexOutOfRangeException Message: Index was outside the bounds of the array. Source: mscorlib at System....
10
votes
1answer
121 views

Is it possible to distribute my xDB MongoDB databases over 3 locations?

So I've been reading up on geographically distributed MongoDB setups. I am juggling around an architectural approach/concept for a project. This is roughly what I am looking at. A centralised ...
10
votes
1answer
433 views

Engagement plans: Progressing from one state to another is taking significantly longer than the specified timeout

In short my question is: Why does it usually take significantly longer than the specified timeout time to progress from one state to another in an engagement plan? Detailed issue: A user has been ...
10
votes
1answer
447 views

Switch xDB Search indexes from SOLR to Azure Search

I need some assistance switching the xDB search indexes from SOLR to Azure Search in a Sitecore 9 vanilla install (installed using SIF). I have completed the following tasks: Added a Search Service ...
10
votes
1answer
260 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
1k views

Is there a foolproof way to recognize a returning anonymous user in Sitecore using xDB?

I have a requirement where I need to identify returning users on the website. The users could be anonymous (It's for a movie chain, so people purchase without creating accounts too) Will xDB be able ...
9
votes
2answers
448 views

What happens if i remove Mongo server from a Sitecore 8 site

A client wants to cut down on servers and since they do not use the Experience Platform I am wondering if i could just eliminate the Mongo server. There is as of now absolutely no data in the Mongo ...
9
votes
2answers
638 views

How to remove an IP address range from analytics? [duplicate]

I don't want company traffic to show up in Sitecore analytics, because it skews goal scores & bounce rates. How do I prevent Sitecore from recording these visits, or how do I at least null-out ...
9
votes
2answers
614 views

Updating latest visit city, region, and country with third party data?

In the Sitecore Experience Profile -- on the right side of a contact detail page --- you will see a section labeled Latest Visit. It has fields for City, Region, Country. I understand that if ...
9
votes
1answer
223 views

Sitecore shared session across browsers

I have seen that the sitecore xDB allows a user to be identified across browsers. For example, if the user has logged in on Firefox and when he opens Chrome, he is already identified. I want to know ...
9
votes
2answers
848 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 ...
9
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 ...
9
votes
2answers
86 views

Excluding users from XDB Data

We have certain users on our site that are used only for testing. We want to excluded these users from our XDB data so that they don't show up in AB Testing, path analyser, etc. Has anyone been ...
9
votes
1answer
257 views

Share xDB data between two installations - possible?

We have two websites on separate physical installations with each there webservers, databases and mongodb. Is it possible to have the two websites use the same mongodb and thereby leverage the same ...
9
votes
3answers
959 views

Sitecore xDB cannot connect to a MongoDB replica set

On our Sitecore 8 production instance, we are getting the below error messages. This client site we have recently inherited from another partner and on preliminary investigation from our end, we see ...