Fixed to add the hook on the ajax navigation only if google analytics object exist