Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

I can't add my google analytics code to my q2a script

+2 votes
35 views
asked Apr 19 in Themes by ntchub
I have tried every possible best to insert my GA code to my Q2A script. But whenever i add to my site and click on save, it will redirect me to my normal user page with an error message "page not found".

I have downloaded the Q2A GA code plugin and install it to my plugin folder and copy my analytics code to the box provided by the plugin still not working. I have inster it to my custom html head in layout page, still not working.

Please where can i insert it. Please i need an answer that will solve my problem.

Thanks for your support.
Q2A version: The latest version

2 Answers

0 votes
answered Apr 20 by ProThoughts
I think you asked this question before also. You dont need GA plugin for this. just paste google analytics code in footer section and it should work.

admin-> Layout->Custom HTML at bottom of every page:

There are many plugins which are not verified can break your site. If you want to see verified plugins then check http://demo.question2answer.info

What are plugins you are using on your q2a site?
commented Apr 20 by Piotr Baranowski
Hello , I have same problem. And no option about Custom HTML at BOTTOM of every page. Only at TOP and HEAD . I missed something when I updated script to latest version? Or maybe it's an issue beacuse I haven't installed 1.8 yet ?

Here what I have in admin panel:
http://www.fandoms.pl/grafika/bottom.png

I need to change placement of this script to place in FOOTER, not in HEADER for work correct ?
commented Apr 20 by ProThoughts
@Piotr Baranowski, looks like some plugin messed up option to place custom html in footer section. Can you disable plugins one by one and see which one is causing issue.

There are still open issues with Github v1.8, I'm still testing so dont use on production site.

> I need to change placement of this script to place in FOOTER, not in HEADER for work correct ?
Yes
0 votes
answered Apr 20 by ntchub
Please bro there is no option of custom html for bottom in my layout option.

Please help me out. where else can i add the code to start functioning in my site?

Thanks
commented Apr 20 by ProThoughts
@ ntchub, can you disable all plugin and check again.
...