Gathering data

Is there a way (other than making a web request to my server) to gather data that user enters? for example I have an app that does morse code and people can create their own phrases and it would be cool to see what phrases people create and make a list with suggestions based on that