Any Hook to pass a trial level to?

Hi, I'm looking for a hook to pass a level Id to when a user signs up.

I want to programmatically override the level the user has chosen on sign up based on certain conditions I choose.

How can I do this?