In the Q2A admin, in the Layout tab there is an option for Custom HTML in <HEAD> section of every page. Tick that then put the GA code in there.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.