Let's say that you have a URL and you want to append on query parameters, for instance to add tracking data to a URL.
For example, let's say we want to add on `utm_medium=example&utm_source=my_blog` to a given URL.
You _could_ do this by simply appending `?utm_medium=example&utm_source=my_blog` to a URL we've been given, but that doesn't work in the case that a URL already has a querystring, because a number of URL parsers will reject that as a invalid URL, or it will not parse as you're expecting to.
The solution I've found that works best is to parse the URI, then use `URI.encode_www_form` on the parsed querystring once we've appended our parameters: