analytics events added

track clicks to external links,
scripts moved to bottom of page (SEO)