human
Complete this python program:
def make_track_function(request):
assistant
#Here is the Python code you requested.

    """Make a tracking function that logs what happened.
    For use in ModuleSystem.
    """
    import track.views
    def function(event_type, event):
        return track.views.server_track(request, event_type, event, page='x_module')
    return function