
Embed URL builder improvements (especially for vanity domains)
Improvements to the SDK for vanity domains + a tool for URL building without the SDK
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
what okay cool sure okay um couple quality of life improvements for embed and uh one fun one at the end um so we've had the ability to support vanity domains for a couple months now and uh definitely starting to see a lot of usage pick up there so one of the things that was a little bit of an oversight is we never really had a proper way to support them um as a first class citizen in their SDK so this week we introduced this new host Pam and if you specify this uh basically we'll generate the correct ined URL against that vanity domain so this is out published right now nice big spike yesterday of new downloads which is kind of cool to see and
um yeah it's uh it's working it's pretty cool so using that um if you have your vanity domain configured which this is my local instance um you can see I've set up a vanity domain of om. example.com and if I go grab like a dashboard in here and I hit generate embed URL so now internally it detects that you've got a vanity domain set up and so it generates the correct URL um there's also this endpoint that I created a while ago this is for folks who are not necessarily using node uh or JavaScript on their back end and can't use our SDK currently this is not docked um plan to put out some docks in the next week or so about it uh but
we've given it to a couple folks and a couple customers are playing around with it in beta and so basically this endpoint simulates the SDK you send it the the data you want to turn into to an embed URL and it returns a valid URL and now it is also compatible with vanity domains so in this case I'm pointed to om.
example.com and when I submit it gives me back a valid embed URL um interestingly I can also just uh specify a host pram so this endpoint is actually stateless um it tries to be helpful and so if you uh you hit your vity domain with this um it'll it'll do its best to assume that the uh the request URL is your vanity domain but if you want to specify your own host um you can so see created the embed URL using the host PM that I just demoed cool