Hi Greg,
I believe you’ll be best served having a visual guides of the hooks so you can best decide where to put it.
Here’s our very own documentation about it: https://docs.generatepress.com/article/hooks-visual-guide/
Perhaps having it on generate_after_header
hook is the best choice.
If this is still giving you trouble, can you link us to the site in question?
So we could inspect the site and assist you better.
You can add the site details on the Private information textarea. Thanks.