During a typical working day I can easily flip between 15 projects, fixing small bugs or working on various features. Each flip normally requires a new feature branch, and i found myself repeating myself. A lot. I'm a parent so I'm pretty used to this, but in this instance I figured I could probably do something about it - so put together a simple bash script.
Having PII in Google Analytics is a big no no, it violates their terms of service and can cause you to have to remove all your analytics data - not fun.
The good news is, most 'standard' Drupal sites using most 'standard' GA implementations avoid sending any PII with one exception - and that is the user password reset page.
The problem occurs when a user attempts to login but enters and incorrect password. They are then presented with a message saying "Unrecognised username or password. Have you forgotten your password?". The "forgotten your password" bit is a link to...