I need help figuring out how to successfully redirect while including Analytics code.
There's a good answer here: https://www.domsammut.com/code/setting-up-hitcallback-using-google-universal-analytics
In short, you'd do it using an event, and you use the hitCallback function.