Added page listener for google analytics