4

Can anyone shed some light on why I am seeing numerous entries for [unknown page] in the Experience Analytics -> Behavior -> Pages -> Entry pages/Exit Pages reports?

enter image description here

I need to track down what is causing so many [unknown page] entries in the reports and I'm not sure where to start.

8
  • From your comment below, it looks like static and media files are tracked. xDB does not track static files or media by default. Could you include more information about the files being tracked? Are they in the media library or are they static? Is there anything special about your Sitecore configuration that could have caused this? Commented Dec 8, 2016 at 15:24
  • Some of the files I'm seeing in the Page Entry URLs are assets hosted outside of sitecore. Files like .js, .css, some logo image .gifs are being displayed in the URL report and they aren't hosted in Sitecore, but referenced on the pages. I think this explains a majority of the [unknown pages] because these items don't actually exist in Sitecore.
    – BillCacy
    Commented Dec 8, 2016 at 15:27
  • 1
    at this point I don't have a conclusive resolution. I am working with Sitecore support to see what possible resolutions we can come up with though. I'll update with more information as soon as it becomes available.
    – BillCacy
    Commented Dec 15, 2016 at 16:59
  • 1
    @BillCacy Hi there, were you able to resolve this issue? Thanks!
    – IceCode
    Commented Jan 16, 2018 at 12:46
  • 1
    @Örvar, it ended up being caused by assets (css/js files) from another one of the client's sites that referenced links provided by the Sitecore instance. So the entry point wasn't tracked and therefore listed as unknown.The resolution was a combination of the 2 answers listed here. #2 in Sitecore Climber's answer helped track it down and then we added some logic to exclude some urls from tracking similar to what Dmytro Schevchenko pointed out.
    – BillCacy
    Commented Feb 5, 2018 at 14:12

2 Answers 2

6

The [Unknown page] entries may appear due to following reasons:

  1. Items may have been deleted which were already tracked.
  2. Pages are opened and tracked which are not Sitecore items e.g. You created a test.aspx page in root folder and open it, This page does not have a corresponding item in Sitecore and will show as Unknown.

You can check URLs and Names of these pages in "Page URLs" section in Behavior tab.

2
  • Yeap. In our site we have lot of those because an intermediary page that gets hit after the user logs-in in through a different service.
    – josedbaez
    Commented Dec 8, 2016 at 15:00
  • Makes sense. When I look at the Page URLs, I'm seeing various entries for .gif and .css files. Is there a way to exclude assets from those reports?
    – BillCacy
    Commented Dec 8, 2016 at 15:11
3

Tracked pages have an ItemId field that is saved to the Collection database. During the generation of reports, all information about the page will be fetched from the corresponding Sitecore item. In case there is no associated item in the content tree, [unknown page] will be shown.

This will become a problem when you are tracking page hits that don't have a Sitecore item associated with them. If you have such a page tracked, there are two options for improving the reports:

Don't track the page

I've described the various ways to prevent a page from being tracked. See this post:

https://sitecore.stackexchange.com/a/1456/104

Override item information

You can track custom pages and override the item and URL information for the page hit. You can do that by including the following in the code of your page:

Tracker.Current.CurrentPage.SetItemProperties(itemId, "en", itemVersion);
Tracker.Current.CurrentPage.SetUrl("/some/url");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.