Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
118 views
in Q2A Core by
I can not put google analytics code in theme.

I have tried to put in the section "public function head custom" of the file theme.base.php.

But every time a message has come "Syntax error '<' .

Now what can I do for this problem. Anybody help me please..

My site is https://www.ask-ans.com
Q2A version: 1.8.3
by
No. Just go to Admin-> General and add code under Head section. No need to modify theme files.

1 Answer

0 votes
by

Don't worry

you can just using this plugin it will help you

https://github.com/kufeiko/QA-Google-Analytics-Plugin

...