fixed up analytics
fixing bug with url on drafts
Merge pull request #73 from phillip-haydon/FixAnalytics

Fix analytics