Factorized the base HTML code

Added google analytics to screens