added social buttons and analytics def