If you share a link that lets people subscribe to an .ics feed in Google Calendar, you’ve probably seen this pattern:
|
|
It works, but there’s a catch: If the user is logged into multiple Google accounts, Google just picks one. No warning. No choice. Easy way to end up adding the calendar to the wrong account.
Here’s the fix.
Use AccountChooser to Force the Picker
Google has a built-in account picker page. If you send users through it first, they will be asked which account to use before they land in Calendar.
Wrap your calendar URL like this:
|
|
That’s it. Clicking this link always shows the account picker, then kicks the user over to the Calendar subscribe screen.
Why This Works
Calendar doesn’t expose a “show picker” flag. AccountChooser does. It pauses the flow, lets the user choose an account, and then continues to whatever URL you gave it.
Make Your Own AccountChooser Link
Here’s a quick tool to generate your own AccountChooser-enabled calendar subscription links:
When to Use It
Anytime you expect users to have more than one Google account (so… basically always), and you don’t want support emails about “Why did this add to my work calendar?”