Published at
Updated at
Reading time
This post is part of my Today I learned series in which I share all my web development learnings.

Thanks to the new top-level domains, many companies provide short URLs to use their product quickly. CodePen has, CodeSandbox has, GitHub has, and they're many more out there. These URLs make the web feel very app-like, I like that!

And of course, Google is providing new URLs with or and and, too. The problem with these URLs is that many people use Docs and Slides with multiple Gmail accounts.

Which account should be used when using And what happens if Google constantly chooses the wrong account to create a new document.

Today I learned, that Google's new URLs support a URL parameter to specify the used Gmail account:

  • – primary account
  • - secondary account
  • and so on...

Example video showing how to choose accounts using Google document short URLs.

That's pretty cool!

Was this TIL post helpful?
Yes? Cool! You might want to check out Web Weekly for more quick learnings. The last edition went out 4 days ago.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles