I have contacted the Hubspot's CS. Turns out that both snippets serve the same purpose and that the latter one is the new and improved version, which is also asynchronous, unlike the old one.
Unfortunately can't provide any links, all my searching came up empty, that is exactly why I asked the question in the first place.