Hit Depth

The depth of the page in a Visit to which customers to your site browse. Let's say a customer views Page A, B and then C in a single visit. Pages A, B, and C have a hit depth of 1, 2, and 3, respectively.


Suppose, in a visit, you visited 9 pages : A -> B -> C -> D -> E -> F -> G -> A -> D - visit ends.

The Hit Depth (not to be confused with the Visit Depth) would be as follows for these pages:

So, Hit Depth shows the depth of the corresponding hit; it will increment gradually until the visit ends.


Hit Depth vs. Visit Depth

There is a difference in how hit depth and visit depth are calculated, which you need to consider when selecting which one to use.

  • HIT depth considers ALL hit types.
  • VISIT depth increases if:
    • The hit is a page view.
    • The pagename is not the same as the previous pagename.

Suppose you have a following sequence:

Page A >> Page B >> Page A >> Custom Link 1 >> Custom Link 2 >> Page C >> Custom Link 3 (with Add to Cart event) >> Page C

Sequence Hit Depth Hits contributing to Visit Depth
Page A 1 Yes
Page B 2 Yes
Page A 3 Yes
Custom Link 1 4 -
Custom Link 2 5 -
Page C 6 Yes
Custom Link 3 (with Add-to-cart event) 7 -
Page C 8 -

Note that in this example:

  • The Visit Depth is 4.
  • The add-to-cart event is shown on the custom link, which is usually the case. Adding to a cart does not lead to a page load, and hence it is not a page view.
  • The last page is the same as the one previous to it (Page C), and so does NOT count towards the visit depth.