I figured it out, and also got a response from the theme designer.
First, BP default theme is not in the themes folder, oddly. It’s in Plugins. So I had edited the wrong header file.
The designer suggested copying the footer file from the default and putting the anaylitcs code before the closing body code.