Page 1 of 1

Problem - Google Analytics is not displayed in the source code

Posted: Sat Jun 10, 2017 6:00 am
by felipe123987
Hello everyone.

I have a problem when implementing Google Analytics in my Opencart, I am using version 2.3.0.2 and at the time of putting the script that they give me in the page of Analytics in the Opencart and with the module activated, this can not be seen In the source code of the page and therefore Google does not catch it correctly. I really do not know what I'm doing wrong or that I need to activate for this to work, so I'd be grateful if someone can help me.

Thank you very much for your time and cooperation.

Re: Problem - Google Analytics is not displayed in the source code

Posted: Sat Jun 10, 2017 6:55 pm
by sdsoftware
Hello. I can see that you are not using the default opencart theme.
Does your theme has a Settings page? Did you checked if there is an other Google analytics input there?
Also try to contact your theme author.. I think its a theme related issue

Re: Problem - Google Analytics is not displayed in the source code

Posted: Sun Jun 11, 2017 4:43 am
by victorj
your analytics code is present, on your site
its not at the end, nut if you look at page source check aound line 1400

Re: Problem - Google Analytics is not displayed in the source code

Posted: Mon Jun 12, 2017 9:49 pm
by felipe123987
Hello, I already noticed all the options in the template and nothing comes out in this, I also communicate with their technical support but they told me to do this http://www.yellopen.com/how-to-configur ... rt-2.3.0.2, but I had already done everything, do not tell me anything else.
I do not know what else to do
sdsoftware wrote:
Sat Jun 10, 2017 6:55 pm
Hello. I can see that you are not using the default opencart theme.
Does your theme has a Settings page? Did you checked if there is an other Google analytics input there?
Also try to contact your theme author.. I think its a theme related issue

Re: Problem - Google Analytics is not displayed in the source code

Posted: Mon Jun 12, 2017 9:52 pm
by felipe123987
Hello friend, I'm really looking for it where you tell me that the analytics code is and I still do not find it, the thing is that Google does not recognize it, either, for Google the code is not put so I have not been able to link it.

Thank you.
victorj wrote:
Sun Jun 11, 2017 4:43 am
your analytics code is present, on your site
its not at the end, nut if you look at page source check aound line 1400

Re: Problem - Google Analytics is not displayed in the source code

Posted: Mon Jun 12, 2017 10:22 pm
by sdsoftware
I know its not clean but temporarily manually add google analytic code to your footer or header
Edit -> catalog/view/theme/Yourtheme/template/common/footer.tpl or header.tpl
Copy and paste google analytics code there.
dont forget to include the code in tags like this
<script> //your Code here</script>

And we can then work to find a permanent solution for your installation

Re: Problem - Google Analytics is not displayed in the source code

Posted: Tue Jun 13, 2017 12:42 am
by spitos
I have an extension that will enhance the Google Analytics features on your site with a simple setup, the default code is basic pageview tracking only. Please hit the link in my signature for more ;)