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
12
votes
2answers
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 ...
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 ...
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 ...
20
votes
3answers
4k 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
717 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, ...
7
votes
4answers
914 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 ...
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 ...
12
votes
4answers
404 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 ...
7
votes
2answers
932 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
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: ...
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 ...
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
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 ...
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 ...
8
votes
1answer
498 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
372 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
909 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....
9
votes
2answers
335 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). ...
7
votes
2answers
3k 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 =...
6
votes
1answer
207 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 ...
3
votes
3answers
2k 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 '...
2
votes
2answers
1k 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....
49
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 ...
10
votes
1answer
288 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: ...
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 ...
2
votes
2answers
503 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 ...
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, ...
17
votes
2answers
630 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 ...
12
votes
2answers
842 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
1answer
448 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 ...
10
votes
5answers
745 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 ...
7
votes
3answers
2k 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 ...
7
votes
1answer
478 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....
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? - ...
4
votes
1answer
106 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)
4
votes
2answers
146 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 goal on Sitecore media Item. I am working with Sitecore 9 update 2. For More reference: https://urbansitecore.blog/2017/10/...
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
1answer
77 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
2answers
613 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 ...
0
votes
3answers
675 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 ...
9
votes
1answer
227 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
1answer
254 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 ...
9
votes
2answers
821 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
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?
7
votes
5answers
659 views

Single contact showing in Sitecore Experience Profile

I've created an xConnect client API for Sitecore 9 that creates new contacts and sets the facet properties. I've added multiple contacts to xDB, however only one contact has shown in the Experience ...
7
votes
2answers
1k views

Why am I getting “another contact with the same identifier already exists” error?

I have a Sitecore 8.1-3 instance. I am trying to write some code that lets admin users edit a user's xDB contact information. I have written a general-purpose method in my code that gets a contact ...
7
votes
1answer
3k views

Experience Analytics fails on Sitecore 9.0.1

I am having trouble configuring the analytics engine on Sitecore 9 with a pretty standard install of Sitecore XP1. I'm using the self-signed certificates and none of the analytics graphs display ...
7
votes
2answers
447 views

How do you change the date format in Sitecore Experience Profile journey timeline?

Right now, if you click an outcome in the Sitecore Experience Profile journey timeline, the outcome details shows the time in the following format: 06.10.2016 14:49:55 Is it possible to change this ...