Add google analytics support / Fix pagination bug