27 votes
Accepted

Experience Analytics are not showing Online Interactions

After many days of research, I have determined it all boiled down to missing a step. Mistakes happen. Post Deployment Steps Once the deployment is complete, there are a few steps that you should ...
Pete Navarra's user avatar
  • 14.6k
21 votes
Accepted

Analytics "Tracker.Current is not initialized"

Cannot Create Tracker or Tracker.Current is Not Initialized - Common Fixes Your problem is that after changing the Analytics.Clustername, you are not ensuring that the hostname (which is really what ...
Pete Navarra's user avatar
  • 14.6k
20 votes
Accepted

Analytics Dashboard has a 10 day delay and updates only gradually

To answer your first question, yes, it is absolutely possible that the server fulfilling the Processing role is occupied leading to processing taking a back-seat. Having said that, 10 days is quite a ...
Zachary Kniebel's user avatar
19 votes

Is there any easter egg in Sitecore?

Maybe not an easter egg, but MainUtil class contains some "useful" methods like: My favorites: /// <summary>Returns false.</summary> /// <returns></returns> public static ...
Marek Musielak's user avatar
  • 21.7k
18 votes
Accepted

Clean Analytics in Sitecore 9

To clean the sql xdb database in Sitecore 9 you need to run bellow script in SQL on every shard that you have . USE [yourdatabaseprefix.Collection.ShardX] GO DELETE FROM [xdb_collection]....
Vlad Iobagiu's user avatar
16 votes
Accepted

Definition Not Found in Analytics Aggregation

Hot to fix In Sitecore, go to Control Panel -> Deploy Marketing Definitions. Select "Campaigns". Click "Deploy". See this official documentation page for detailed instructions on deploying marketing ...
Dmytro Shevchenko's user avatar
16 votes
Accepted

Is there any easter egg in Sitecore?

I have previously found 2 secret CLI commands in Sitecore JSS: elephant-in-the-room: > jss elephant-in-the-room JSS CLI is running in global mode because it was not installed in the local ...
Jean-François L'Heureux's user avatar
14 votes
Accepted

When rebuilding the reporting database stuck on StoppingDataRecording

I figured out the problem. Turns out I had Sitecore.Analytics.Processing.Aggregation.Services.config and Sitecore.Analytics.Processing.Services.config files disabled. I had disabled them during the ...
Corey Burnett's user avatar
13 votes
Accepted

How does Sitecore xDB work in a basic CM/CD setup

Normally analytics data are stored in the MongoDb on session end. Then, with Sitecore Aggregators, the data is flushed into the Sitecore Reporting database at a defined interval. If not mistaken, the ...
Hishaam Namooya's user avatar
12 votes
Accepted

Does VisitorIdentification really need to be in the head element

Yes it does Except if you don't use xDB or Analytics. In this case, VisitorIdentification is redundant. What it does It serves a number of purposes; but the most relevant to you is, it aids robot ...
Mark Cassidy's user avatar
  • 24.7k
12 votes
Accepted

How to remove an IP address range from analytics?

You can do that by including the company IP range in "excludedIPAddresses" section of Sitecore.Analytics.ExcludeRobots.config file (Or by creating a patch config): <configuration xmlns:patch="...
Ahmed Okour's user avatar
  • 2,114
11 votes
Accepted

No contact created in MongoDB when session is closed

I know you have already found the exact solution for your particular case. Still, I'm going to list the steps I normally take when troubleshooting data saving issues in xDB. Hopefully, this can help ...
Dmytro Shevchenko's user avatar
10 votes
Accepted

Generating test data for Sitecore Analytics

You can use Sitecore XGenerator for generating analytics data. More information you can find on Sitecore Github Repository Experience Generator Generate "realistically looking" traffic for the ...
Vlad Iobagiu's user avatar
9 votes

xDB Cloud Experience Analytics not refreshing

NB: The following description works for both xDB on-premises as well as xDB Cloud. In Sitecore Experience Database aka Sitecore xDB, there are Collection repository and Reporting repository. ...
Oleg Burov's user avatar
  • 1,088
9 votes
Accepted

Sitecore 8.2 Experience Analytics error: "anti-forgery form field is not present"

Explaining the log message 11404 20:29:34 INFO [Experience Analytics]: Request: http://host.name/sitecore/api/ao/aggregates/all/7A9A483F195D4F96AD88473CD6854C4F/all?&dateGrouping=by-week&&...
Dmytro Shevchenko's user avatar
9 votes
Accepted

How can I create a custom report in Experience Analytics?

Basically, it is a kind of difficult sometimes to query the MongoDB directly, I had a similar scenario and following what I did: I created aggregation processor that will be called when you rebuild ...
Mohammed Syam's user avatar
9 votes
Accepted

XDB Continuous Update for Reporting

Continuous Updating is automatically configured. It is the process of xDB which takes interactions that have just ended, out of shared session, into the repository, and then processed and aggregated ...
Pete Navarra's user avatar
  • 14.6k
9 votes
Accepted

Ways to block SC_ANALYTICS_GLOBAL_COOKIE from being deployed?

You can create your own class: public class ClearCookieHttpModule : IHttpModule { public void Dispose() { } public void Init(HttpApplication context) { //...
Vlad Iobagiu's user avatar
9 votes
Accepted

Sitecore.Analytics.Tracker.Current.Session.Contact Is Null

Make sure it runs before the Sitecore.Analytics.Pipelines.HttpRequest.EndAnalytics processor in the httpRequestProcessed pipeline. Otherwise, the contact is set to null in the EndAnalytics pipeline ...
Marco's user avatar
  • 995
8 votes
Accepted

Bind current visitor with Sitecore contact

From the Sitecore Launch site. You can use the email address or the domain\username as inputs for for Tracker.Current.Session.Identify(domainUser); This will link the current contact with the sitecore ...
Chris Auer's user avatar
8 votes
Accepted

Sitecore analytics not tracking logged-in users

Just because you are logged in does not mean it will treat the user as a contact in xDB. You should check out how to identify contacts. The key being to call Sitecore.Analytics.Tracker.Current....
Glen McInnis's user avatar
8 votes

How does Sitecore xDB work in a basic CM/CD setup

Your personas, and personalizations are stored either on as items in the Master database or as part of an item (personlization rules for renderings) just like any other content item in Sitecore. You ...
Patrick Barron's user avatar
8 votes
Accepted

How to get engagement value or persona

The points assigned to a Goal/Page Event combine & accumulate as Engagement Value for a user. Is this correct? Yes, you are correct. You assign engagement value points to score specific contact ...
Hishaam Namooya's user avatar
8 votes

SC_ANALYTICS_GLOBAL_COOKIE Disable based on cookie consent

You need to patch your custom processor before CreateTracker processor of the StartAnalytics Pipeline. <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore&...
Paulson Maclean's user avatar
7 votes
Accepted

Experience Profile always shows anonymous or unknown as Name

Not sure what version of Sitecore you are on, but this is a bit of code from the Sitecore Launch site. It identifies the user and adds the out of the box xDB facets. This is Sitecore 8.1.0.151207. ...
Chris Auer's user avatar
7 votes

Why is my Experience Analytics dashboard blank in Sitecore 8.1 Update-3?

When a user browses the site, the session/interaction is tracked in MongoDB. When a session ends (due to inactivity and controlled by the timeout in the web.config), the commitSession pipeline kicks ...
Jacob Nielsen's user avatar
7 votes
Accepted

Clean Analytics in Sitecore 8

First Method (recommended): Install the Analytics Database Manager version 3.0 When Analytics Database Manager is installed, access the application from the Sitecore launchpad. Go on the "REMOVE OLD ...
Frédérick Fournel's user avatar
6 votes

Experience Analytics Entry/Exit pages display [unknown page]

The [Unknown page] entries may appear due to following reasons: Items may have been deleted which were already tracked. Pages are opened and tracked which are not Sitecore items e.g. You created a ...
Vlad Iobagiu's user avatar
6 votes
Accepted

Can't deploy marketing definitions, "definition manager is in read only mode"

Background Under sitecore/marketingDefinitions/goal/definitionManager, you have the following parameter configured: <param desc="isReadOnly" type="System.Boolean" factoryMethod="Parse" arg0="true"...
Dmytro Shevchenko's user avatar
6 votes
Accepted

SC_ANALYTICS_GLOBAL_COOKIE domain name in multisite

You'll want to set a <httpCookies> configuration in your Web.config that allows for a wildcard domain. This is done by specifying the root of your domain in the cookie. Note: that by changing ...
Pete Navarra's user avatar
  • 14.6k

Only top scored, non community-wiki answers of a minimum length are eligible