Make both the url and title optional for trackPage
Not sure the ga function is working, so I added explicit trackSocial function.