moved analytics from footer to own functions with wp_footer-hook