Custom JavaScript events for different parts of the user journey