Added the ns analytics hook.