Create a conversion funnel in your WordPress.
Organize your users according to the state they are at.
You can create leads manually or automatically when register new users.
Users can travel through the conversion funnel by visiting different pages.
Now referrer option is added. If your users come from an url with a param, you can select the new state.
Create your custom funnel.
Set as many States as you need.