Analytics and share action

Added analytics to minimal tracking and share action for app sharing.