No data in Sitecore.

I have set up a local Sitecore environment with all sql and mongodb working.

Also, I don't get any data in the experience profile (contacts)

I see track_contact db is empty in mongo and also analytics index folder is empty.

Other features like experience analytics work fine.

Are additional settings required?

+3


source to share


3 answers


The experience profile is powered by the Analytics index. If there is no index, there will be no data.
Try rebuilding the index if it is not there.

There is an administrative tool to restore the db reporting index and analytics: /sitecore/admin/RebuildReportingDB.aspx



When running the tool, you first need to set up a secondary db report. Just attach another blank analgesic database to your local SQL and name it something like analytics_secondary

and customize its connection string. Then restore the reporting database and after that the data should appear in your experience profile.

The index has to be constantly updated with the aggregation framework (i.e. you don't need to rebuild), so if it doesn't, something is wrong in your configuration.

+2


source


When working with xDB, you will need to define a user to appear in the experience profile section, otherwise they will be anonymous.

Try using this code here to create a contact:

https://github.com/ianjohngraham/CoreBlimey.Utils/tree/master/CoreBlimey.Utils/xDB%20Contact%20Creator

And then invoke the end session with a button.



If everything is configured correctly, the created contact will appear in MongoDB and in the experience profile.

If you are still not getting any data, you can try this:

  • Make sure you have an <sc:VisitorIdentification runat="server" />

    ASP web form layout control . control @Html.Sitecore().VisitorIdentification()

    to host MVC

  • Make sure you disable robot detection by changing this setting <setting name="Analytics.AutoDetectBots" />

+1


source


Charlie,

I also had a similar problem in the past, so I found it didn't work in my local mode, but when I put it on the stage server, it showed me the data. The same applies to you.

Also without "@ Html.Sitecore (). VisitorIdentification ()" in your layout tracking is not possible.

Hope this helps you.

Hooray!!

0


source







All Articles