Our load tests have shown that the Sitecore.Analytics.Media.MediaRequestEventHandler reduces load time of media assets by a certain factor.

If we were to disable this handler, what functionality would we lose?

1 Answer 1


The Sitecore.Analytics.Media.MediaRequestEventHandler is responsible for tracking all media requests and storing that information in the xDB.

If you look at the OnMediaRequest method, in there it gets the site context and tracker information and then tracks any page events or goals etc... that are associated with that media item/type.

If you disable that handler, it will prevent any tracking data from being written on media requests.

  • Any idea how to disable only the pageviews for media? My media downloads are appearing as pageviews with 0 seconds. I need them to only appear as a page event or goal. Commented Jan 6, 2020 at 8:13
  • @NotAnotherCliche if you have another question, please don't tag it on in a comment, open another question. Thanks
    – Richard Seal
    Commented Jan 6, 2020 at 17:50
  • Sure, here it is. Thank you! sitecore.stackexchange.com/q/23670/6439 Commented Jan 7, 2020 at 3:17

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.