The Analytics Extension should provide a Trigger that would be equivalent to the call to doPlugins.
Goal of that is to get rid of any customisation in an Analytics deployment. I would want to use a Rule to replicate the behaviour and possibilities of doPlugins.