Changed analytics to include file inline rather than using external script