In this course we will look at how goals are used to track important flows and are designed with two specific purposes in mind. The first is to give us analytical insights into how well the flow is performing and to provide information we can use to make necessary improvements. The second is to help keep the user in the flow until they finish it. If they try to leave before completing it, we prompt them with a retention message that loops them back to the flow if they accept.