Webchat Url Queries Broken?

I’m trying to pass data to a bot’s state during the webchat initialization and the best way I could come up with to do this is via the &ref= url parameter. However, it seems that the API call for passing the query string into state isn’t working. Was wondering if 1.) there are plans to fix this in the near future and/or 2) there’s any other way to do what I am looking to do without sending an event after bot initialization?