def store(self):
        """
        Store a list of resume points to the request's session.
        """
        if self._ga_events:
            self.request.session[self.session_key] = self.serialize_events(
                self._ga_events
            )
        else:
            self.request.session.pop(self.session_key, None)
        return []

        Store a list of resume points to the request's session.
        
simple_ga/middleware.py